plot_raster | R Documentation |
Plot a raster.
plot_raster( object, legend_title, occurrence_data = NULL, pt_col = "red", height, compass = FALSE, outfile )
object |
A |
legend_title |
Character. If missing, the name of the raster layer will be used. |
occurrence_data |
A |
pt_col |
Character. Colour of points (if plotted). |
height |
Height of plot in inches (will be rendered at 300 dpi).
Required if |
compass |
Logical. Should a North arrow be shown? |
outfile |
Character. Path to save output. |
A tmap
object. If outfile
is provided, a map will also
be written to that file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.