plot.s2im: Plot Image/Raster on the Sphere

View source: R/s2im.R

plot.s2imR Documentation

Plot Image/Raster on the Sphere

Description

Plot Image/Raster on the Sphere

Usage

## S3 method for class 's2im'
plot(x, ...)

Arguments

x

Object of class s2im.

...

passed to <plot.s2pp>.

Examples

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)

spatstat/spatstat.sphere documentation built on Jan. 27, 2023, 2:59 a.m.