plot.s2im | R Documentation |
Plot Image/Raster on the Sphere
## S3 method for class 's2im' plot(x, ...)
x |
Object of class |
... |
passed to <plot.s2pp>. |
poly <- s2polygon(cbind(lon = c(-20,-10,10,20,10,-10), lat = c(0, -10, -10, 0, 10, 10))) f <- function(lon, lat){ sin(lon) } im <- as.s2im.function(f, poly, level = 6) plot(im)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.