Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Northarrow

Northarrow


Description

Add a North Arrow to a map.

Usage

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

Author(s)

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.

Examples

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

StatDA

Statistical Analysis for Environmental Data

v1.7.4
GPL (>= 3)
Authors
Peter Filzmoser
Initial release
2020-03-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.