end

Terminate GMT modern mode session and produce optional graphics

Synopsis

gmt end [ show ] [ -V[level] ]

Note: No space is allowed between the option flag and the associated arguments.

Description

This end module terminates the modern mode session created with begin and finalizes the processing of all registered figures. The final graphics will be placed in the current directory and the hidden sessions directory will be removed.

Optional Arguments

show
Open all graphics produced by the session in the default viewer.
-V[level] (more …)
Select verbosity level [c].
-^ or just -
Print a short message about the syntax of the command, then exits (NOTE: on Windows just use -).
-+ or just +
Print an extensive usage (help) message, including the explanation of any module-specific option (but not the GMT common options), then exits.
-? or no arguments
Print a complete usage (help) message, including the explanation of all options, then exits.

Examples

To close the current modern session and finalize any plots requested, we use:

gmt end

Disable display

If you wish to run scripts that end with gmt end show but sometimes prefer to not display the results, you can set the environmental parameter GMT_END_SHOW to off.