gmt.demo {gmt} | R Documentation |
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
Format
demo.par
and demo.coast
are simple strings.
demo.xy
is a data frame containing:
Lon | Longitude |
Lat | Latitude |
Size | Size of plot symbol |
demo.text
is a data frame containing:
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:
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.
See Also
gmt-package
gives an overview of the package.
Examples
## Not run:
# Draw map and save as "map.ps" in R working directory
gmt(demo.par)
pscoast(demo.coast)
psxy(demo.xy)
pstext(demo.text, "-J -R -F+f+a+j -O -K")
psbar(demo.bar, ref=66)
psclose()
# See directory gmt/example for details
## End(Not run)
[Package gmt version 2.0.3 Index]