Examples for 'stars::contour.stars'


plot contours of a stars object

Aliases: contour.stars

Keywords:

### ** Examples

d = st_dimensions(x = 1:ncol(volcano), y = 1:nrow(volcano))
r = st_as_stars(t(volcano))
r = st_set_dimensions(r, 1, offset = 0, delta = 1)
r = st_set_dimensions(r, 2, offset = 0, delta = -1)
plot(r, reset = FALSE)
contour(r, add = TRUE)
plot of chunk example-stars-contour.stars-1

[Package stars version 0.6-7 Index]