GMTSET(1gmt) | GMT | GMTSET(1gmt) |
gmtset - Change individual GMT default parameters
gmtset [ -C | -D[s|u] |
-Gdefaultsfile ] [ -[BJRXxYycp]value ]
PARAMETER1 [=] value1 PARAMETER2 [=] value2 PARAMETER3 [=]
value3
Note: No space is allowed between the option flag and the associated arguments.
gmtset will adjust individual GMT defaults settings in the current directory's gmt.conf file. If no such file exists one will be created. The main purpose of gmtset is temporarily to change certain parameters inside a shell script, e.g., set the dots-per-inch to 72, run the script, and reset to 1200 dpi. Only parameters that differ from the GMT SI system defaults will be written. Optionally, you can specify one or more temporary changes directly on any GMT command line with the syntax --PARAMETER=VALUE; such changes are only in effect for that command and do not permanently change the default settings on disk.
To change annotation font to 12-point Helvetica, select grid-crosses of size 0.1 inch, and set annotation offset to 0.2 cm:
gmt set FONT_ANNOT_PRIMARY 12p,Helvetica \
MAP_GRID_CROSS_SIZE_PRIMARY 0.1i MAP_ANNOT_OFFSET_PRIMARY 0.2c
gmt, gmt.conf, gmtdefaults, gmtget
2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
May 21, 2019 | 5.4.5 |