.\" Man page generated from reStructuredText. . .TH "GMTSET" "1gmt" "Jan 10, 2019" "5.4.5" "GMT" .SH NAME gmtset \- Change individual GMT default parameters . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBgmtset\fP [ \fB\-C\fP | \fB\-D\fP[\fBs\fP|\fBu\fP] | \fB\-G\fP\fIdefaultsfile\fP ] [ \fB\-\fP[\fBBJRXxYycp\fP]\fIvalue\fP ] PARAMETER1 [=] \fIvalue1\fP PARAMETER2 [=] \fIvalue2\fP PARAMETER3 [=] \fIvalue3\fP ... .sp \fBNote:\fP No space is allowed between the option flag and the associated arguments. .SH DESCRIPTION .sp \fBgmtset\fP will adjust individual GMT defaults settings in the current directory\(aqs gmt.conf file. If no such file exists one will be created. The main purpose of \fBgmtset\fP 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 \fB\-\fP\fB\-PARAMETER\fP=\fIVALUE\fP; such changes are only in effect for that command and do not permanently change the default settings on disk. .SH REQUIRED ARGUMENTS .INDENT 0.0 .TP .B PARAMETER \fIvalue\fP 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 gmt.conf man page. .UNINDENT .SH OPTIONAL ARGUMENTS .INDENT 0.0 .TP \fB\-C\fP Convert a .gmtdefaults4 file created by GMT4 to a gmt.conf file used by GMT5. The original file is retained. .UNINDENT .INDENT 0.0 .TP \fB\-D\fP[\fBs\fP|\fBu\fP] Modify the GMT defaults based on the system settings. Append \fBu\fP for US defaults or \fBs\fP for SI defaults. [\fB\-D\fP alone gives the version selected at compile time] .UNINDENT .INDENT 0.0 .TP \fB\-G\fP\fIdefaultsfile\fP Name of specific gmt.conf file to read and modify [Default looks first in current directory, then in your home directory, then in ~/.gmt and finally in the system defaults]. .TP \fB\-\fP[\fBBJRXxYycp\fP]\fIvalue\fP Set the expansion of any of these shorthand options. .UNINDENT .INDENT 0.0 .TP \fB\-^\fP or just \fB\-\fP Print a short message about the syntax of the command, then exits (NOTE: on Windows just use \fB\-\fP). .TP \fB\-+\fP or just \fB+\fP Print an extensive usage (help) message, including the explanation of any module\-specific option (but not the GMT common options), then exits. .TP \fB\-?\fP or no arguments Print a complete usage (help) message, including the explanation of all options, then exits. .UNINDENT .SH EXAMPLES .sp To change annotation font to 12\-point Helvetica, select grid\-crosses of size 0.1 inch, and set annotation offset to 0.2 cm: .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C gmt set FONT_ANNOT_PRIMARY 12p,Helvetica \e MAP_GRID_CROSS_SIZE_PRIMARY 0.1i MAP_ANNOT_OFFSET_PRIMARY 0.2c .ft P .fi .UNINDENT .UNINDENT .UNINDENT .UNINDENT .SH SEE ALSO .sp gmt, gmt.conf, gmtdefaults, gmtget .SH COPYRIGHT 2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe .\" Generated by docutils manpage writer. .