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