---
name: "gmtset"
section: "1"
platform: "linux"
package: "gmt-manpages"
version: "3.4-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/gmtset"
---

# gmtset(1)

To change individual GMT default parameters

## NAME

gmtset - To change individual **GMT** default parameters

## SYNOPSIS

**gmtset** PARAMETER1 \[=\] *value1* PARAMETER2 \[=\] *value2* PARAMETER3 \[=\] *value3* ...

## DESCRIPTION

**gmtset** will adjust individual GMT defaults settings in the current directory's .gmtdefaults' file. If no such file exists one will be created. The main purpose of **gmtset** is to temporarily change certain parameters inside a shellscript, e.g., set the dots-per-inch to 600, run the script, and reset to 300 dpi.

- PARAMETER *value*

  Provide one or several pairs of parameter/value combinations that you want to modify. For a complete listing of available parameters and their meaning, see the **gmtdefaults** man page.

## EXAMPLES

To change the dpi to 600, set anotation font to Helvetica, and select grid-crosses of size 0.1 inch, and set anotation offset to 0.2 cm, try\

        gmtset DOTS\_PR\_INCH 600 ANOT\_FONT Helvetica GRID\_CROSS\_SIZE 0.1**i** ANOT\_OFFSET 0.2**c**\

## SEE ALSO

*gmt*(l), *gmtdefaults*(l)
