Plots an image on a map of the world.
1 2 |
lon |
Longitude. |
lat |
Latitude. |
img |
The image to plot as a matrix of dimensions c(length(lon),length(lat)). |
mask |
Matrix of dimensions c(length(lon),length(lat)) defining a mask to cut out of the picture. |
xlab |
Label for the x-axis passed to fields::image.plot. Default is "Longitude". |
ylab |
Label for the y-axis passed to fields::image.plot. Default is "Latitude". |
... |
Additional graphical parameters passed to fields::image.plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.