gmt

Groups:

APPLICATIONS,PLOTS

Authors:

Igor Morozov, 10/97; Trace plotting added 04/04.

Jan 2007: I. Morozov - it seems that in GMT version 4, the position of the color bar is specified by the lower-left corner of the plot, and not by its center. Changes made to preserve the old convention.

Module description:

GMT interface

An interface for GMT (Generic Mapping Tools) programs. GMT allows plotting plots and geographic maps in a variety of projections.

GMT accepts images built by preceding calls to IMAGE, converts them to PpstScript, and optionally displays the resulting file by calling a PostScript viewer.

Wherever possible, the commands are identical to those used by tool PLOTMTV.

GMT performs all operations during the EOF phase.

See also:

GRAPHIC,PLOTMTV,IMAGE,PLOT,GRMOD2

Module call format:

*call GMT ORIENT X Y SHOW PSFILE

Global list parameter(s):

ORIENT

Page orientation: PORTR (portait), LANDS (landscape)
  • Format: Selection
  • Selectable Values: (codes in parentheses)
    • Potrait (PORTR)
    • Landscape (LANDS)
  • Default value: LANDS

X

X coordinate of plot origin on the page
  • Format: FLOAT
  • Default value: 1

Y

Y coordinate of plot origin on the page
  • Format: FLOAT
  • Default value: 1

SHOW

SHOW (run Postscript viewer when the plot is completed) or NOSHOW. Special option NOIMAGE disables cration of plots. In this mode, GMT can be used to provide functions returning GMT option tokens for GMT commands. See list FUNCTN.
  • Format: Selection
  • Selectable Values: (codes in parentheses)
    • Show PS (SHOW)
    • Do not show (NOSHOW)
    • No image (NOIMAGE)
  • Default value: NOSHOW

PSFILE

Output PostScript file name
  • Format: Text file name or '*' for job log or input (40 characters)
  • Default value: No default allowed

1 group of 1 REPEAT parameter per line:

IMAGE

Name of the image to plot
  • Format: Character (80 characters)
  • Default value: Not specified

Back to the beginning of module description

References:

Wessel, P., and W. H. F. Smith (1995). New version of the Generic Mapping Tools released, EOS Trans. Amer. Geophys. U., vol. 76, pp. 329.


Back to the beginning of module description

Known bugs and problems:

  1. Trace sections cannot be clipped outside of the image area.

    Workaround: select the corresponding limits of the time and offset range of the section in PLOT.


    Back to the beginning of module description
    IGeoS version 5.1
    Copyright (c) 1995-2015, I.B.Morozov
    Updated Wed Apr 1 21:42:28 2020