Northarrow function

Northarrow

Northarrow

Add a North Arrow to a map.

Northarrow(Xbottom, Ybottom, Xtop, Ytop, Xtext, Ytext, Alength, Aangle, Alwd, Tcex)

Arguments

  • 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

Returns

No return value, creates a plot.

References

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.

Author(s)

Peter Filzmoser <P.Filzmoser@tuwien.ac.at > http://cstat.tuwien.ac.at/filz/

Examples

plot.new() Northarrow(0.5,0,0.5,1,0.5,0.5,Alength=0.15,Aangle=15,Alwd=2,Tcex=2)