1GMTSET(1) Generic Mapping Tools GMTSET(1)
2
3
4
6 gmtset - To change individual GMT default parameters
7
9 gmtset [ -Gdefaultsfile ] PARAMETER1 [=] value1 PARAMETER2 [=] value2
10 PARAMETER3 [=] value3 ...
11
13 gmtset will adjust individual GMT defaults settings in the current
14 directory's .gmtdefaults4 file. If no such file exists one will be
15 created. The main purpose of gmtset is temporarily to change certain
16 parameters inside a shell script, e.g., set the dots-per-inch to 600,
17 run the script, and reset to 300 dpi. Optionally, you can specify one
18 or more temporary changes directly on any GMT command line with the
19 syntax --PARAMETER=VALUE; such changes are only in effect for that com‐
20 mand and do not permanently change the default settings on disk.
21
22 PARAMETER value
23 Provide one or several pairs of parameter/value combinations
24 that you want to modify. For a complete listing of available
25 parameters and their meaning, see the gmtdefaults man page.
26
28 -G Name of specific .gmtdefaults4 file to modify [Default looks
29 first in current directory, then in your home directory, then in
30 ~/.gmt and finally in the system defaults].
31
33 To change the dpi to 600, set annotation font to Helvetica, and select
34 grid-crosses of size 0.1 inch, and set annotation offset to 0.2 cm:
35
36 gmtset DOTS_PR_INCH 600 ANNOT_FONT_PRIMARY Helvetica
37 GRID_CROSS_SIZE_PRIMARY 0.1i ANNOT_OFFSET_PRIMARY 0.2c
38
40 GMT(1), gmtdefaults(1)
41
42
43
44GMT 4.3.1 15 May 2008 GMTSET(1)