gmt {gmt} | R Documentation |
Initialize a GMT (Generic Mapping Tools) session by setting graphical parameters and current postscript file.
gmt(par, style="s", file="map.eps", quiet=FALSE)
par |
optional string of the form
"PARAMETER1=value1 PARAMETER2=value2 ..." , passed to
gmtset . |
style |
default units and values: "s" for SI
(international) or "u" for United States, passed to
gmtdefaults . |
file |
postscript filename used in subsequent calls to GMT plot
functions, passed to options() |
quiet |
whether current settings should be displayed. |
File type should be ‘.eps’ when PAPER_MEDIA
is A4+
or letter+
, but ‘.ps’ otherwise.
See the GMT documentation for details on graphical parameters,
gmtdefaults
, gmtset
and other GMT commands.
List containing the current options("gmt.file")
.
If par
is passed by user (even an empty string ""
will
do), a file named ‘.gmtdefaults4’ is created in the working
directory. If quiet=FALSE
, the current graphical parameter
settings are displayed.
Assumes that GMT version 4 is installed, i.e. that gmtset
and other commands are in the path, and environment variable
GMTHOME
is defined.
Arni Magnusson arnima@u.washington.edu.
gmt-package
gives an overview of the package.
## Not run: gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() ## End(Not run)