Plot axes
Show direction axes in a map
axes( x, y, angle, radius = 0.5, arrow.code = 1, arrow.length = 0, add = FALSE, ... )
x, y
: coordinates of pointsangle
: Azimuth in degreesradius
: length of axisarrow.code
: integer. Kind of arrow head. The default is 1
, i.e. no arrow head. See graphics::arrows()
for detailsarrow.length
: numeric Length of the edges of the arrow head (in inches). (Ignored if arrow.code = 1
)add
: logical. add to existing plot?...
: optional arguments passed to graphics::arrows()
No return value, called for side effects
data("san_andreas") axes(san_andreas$lon, san_andreas$lat, san_andreas$azi, add = FALSE)