pscoast {gmt}R Documentation

Draw GMT Map

Description

Call GMT to draw a map (coastlines, borders, rivers) and save in postscript format.

Usage

pscoast(cmd, file=options("gmt.file"))

Arguments

cmd string of arguments passed to pscoast.
file filename where the map will be saved.

Details

File type should be ‘.eps’ when PAPER_MEDIA is A4+ or letter+, but ‘.ps’ otherwise.

See the GMT documentation for details on pscoast and other GMT commands.

Value

Null, but a map is drawn and saved in postscript format.

Note

Assumes that GMT version 4 is installed, i.e. that pscoast and other commands are in the path, and environment variable GMTHOME is defined.

Author(s)

Arni Magnusson arnima@u.washington.edu.

See Also

plot.default, postscript.

gmt-package gives an overview of the package.

Examples

## Not run: 
gmt(demo.par)
pscoast(demo.coast)
psxy(demo.xy)
pstext(demo.text)
psbar(demo.bar, ref=64)
psclose()
## End(Not run)

[Package gmt version 1.0-3 Index]