Learn R Programming

gmt (version 1.0-0)

gmt.demo: GMT Example Data

Description

These five objects are provided to demonstrate the functionality of the gmt package.

Usage

demo.par
demo.coast
demo.xy
demo.text
demo.bar

Arguments

format

demo.par and demo.coast are simple strings. demo.xy is a data frame containing: ll{ Lon Longitude Lat Latitude Size Size of plot symbol } demo.text is a data frame containing: ll{ Lon Longitude Lat Latitude Size Size of plot symbol Angle Angle in degrees counter-clockwise from horizontal Font Font number Justify Justification code Text Text label } demo.bar is a data frame containing: ll{ Lon Longitude Lat Longitude Width Bar width in degrees Height Bar height in degrees }

Details

See the GMT documentation for details on psxy, pstext and other GMT commands.

References

Wessel, P. and W.H.F. Smith. 2004. The Generic Mapping Tools: Technical reference and cookbook. Version 4. Available at http://gmt.soest.hawaii.edu/gmt/doc/pdf/GMT$\_$Docs.pdf.

See Also

psxy, pstext, psbar.

Examples

Run this code
gmt(demo.par)
pscoast(demo.coast)
psxy(demo.xy)
pstext(demo.text)
psbar(demo.bar, ref=64)
psclose()

Run the code above in your browser using DataLab