rose | R Documentation |
Draw a compass on a map or a plot.
rose(x, y, size = 1, width = size/4, cols = c("grey10", "white"),
labels = c("N", "S", "E", "W"), offset = 0, ...)
x , y |
coordinates of the center of the compass given as two vectors of length one (in user coordinates). |
size |
the length of the needles (in the same units than the user coordinates). |
width |
the width of the needles at the bottom; by default, one fourth of the previous. |
cols |
the colours for each side of the needles. |
labels |
the text printed at the tips of the needles. |
offset |
the space between the labels and the tips of the needles. |
... |
further arguments passed to |
To not print the directions, set labels = rep("", 4)
.
Emmanuel Paradis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.