Northarrow | R Documentation |
Add a North Arrow to a map.
Northarrow(Xbottom, Ybottom, Xtop, Ytop, Xtext, Ytext, Alength, Aangle, Alwd,
Tcex)
Xbottom |
x coordinate of the first point |
Ybottom |
y coordinate of the first point |
Xtop |
x coordinate of the second point |
Ytop |
y coordinate of the second point |
Xtext |
x coordinate of the label |
Ytext |
y coordinate of the label |
Alength |
length of the edges of the arrow head (in inches) |
Aangle |
angle from the shaft of the arrow to the edge of the arrow head |
Alwd |
The line width, a positive number |
Tcex |
numeric character expansion factor |
No return value, creates a plot.
Peter Filzmoser <P.Filzmoser@tuwien.ac.at> http://cstat.tuwien.ac.at/filz/
C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical Data Analysis Explained. Applied Environmental Statistics with R. John Wiley and Sons, Chichester, 2008.
plot.new()
Northarrow(0.5,0,0.5,1,0.5,0.5,Alength=0.15,Aangle=15,Alwd=2,Tcex=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.