demo.par
demo.coast
demo.xy
demo.text
demo.bar
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 |
psxy
,
pstext
and other GMT commands.
gmt-package
gives an overview of the package.## Not run:
# # Draw map and save as "map.eps" in R working directory
# gmt(demo.par)
# pscoast(demo.coast)
# psxy(demo.xy)
# pstext(demo.text)
# psbar(demo.bar, ref=66)
# psclose()
# # See directory gmt/example for details
# ## End(Not run)
Run the code above in your browser using DataLab