View source: R/plotting_helpers.R
north_arrow | R Documentation |
north_arrow plots a North arrow in user defined places in a map.
north_arrow(position = "topright", xlim = NULL, ylim = NULL)
position |
(character or numeric) position of the North arrow. If character, options are: "topright", "topleft", "bottomleft", or "bottomright". Default = "topright". |
xlim |
(numeric) vector of two numbers indicating the x limits of the
plotting area. Default = |
ylim |
(numeric) vector of two numbers indicating the y limits of the
plotting area. Default = |
Plot of a simple North arrow located in the position
of the plot
specified.
# simple plot plot(1:10, 1:10, col = "transparent") # north arrows north_arrow(position = "topright") north_arrow(position = "bottomright")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.