gmt-package {gmt} | R Documentation |
Interface between the GMT Map-Making Software and R
Description
Interface between the GMT map-making software and R, enabling the user to manipulate geographic data within R and call GMT commands to draw and annotate maps in postscript format.
Details
Initialize GMT session:
gmt | set graphical parameters and postscript file |
Create a map:
pscoast | draw |
psxy | annotate |
pstext | annotate |
psbar | annotate |
psclose | finalize |
Convert and calculate:
deg2num | degrees to numeric |
geodist | distance between coordinates |
num2deg | numeric to degrees |
Examples:
demo.par , demo.coast ,
demo.xy , demo.text ,
demo.bar | strings and data frames to create example map |
Internal:
gmt.system , r2gmt | helping functions |
This package provides functions to draw basic maps with GMT, along with helping functions that can be used to add more advanced features to a map.
GMT users typically write shell scripts to draw maps. The gmt package is about interactive data analysis, rapidly visualizing subsets and summaries of geographic data, while performing statistical analysis in the R console.
Author(s)
Arni Magnusson.
References
Wessel, P., Smith, W. H. F., Scharroo, R., Luis, J. and Wobbe, F. The Generic Mapping Tools: GMT documentation. Available at https://docs.generic-mapping-tools.org.