plot stars object, with subplots for each level of first non-spatial dimension
# S3 method for stars plot(x, y, ..., join_zlim = TRUE, main = names(x)[1])# S3 method for stars image(x, ..., band = 1, attr = 1, asp = 1, rgb = NULL, maxColorValue = 1, xlab = names(dims)[1], ylab = names(dims)[2], xlim = st_bbox(x)$xlim, ylim = st_bbox(x)$ylim, useRaster = TRUE, text_values = FALSE)
# S3 method for stars image(x, ..., band = 1, attr = 1, asp = 1, rgb = NULL, maxColorValue = 1, xlab = names(dims)[1], ylab = names(dims)[2], xlim = st_bbox(x)$xlim, ylim = st_bbox(x)$ylim, useRaster = TRUE, text_values = FALSE)
object of class stars
stars
ignored
passed on to image.default
image.default
logical; if TRUE, compute a single zlim for all subplots from array range
TRUE
character; subplot title prefix; use "" to get only time, use NULL to suppress subplot titles
""
NULL
integer; which band (dimension) to plot
integer; which attribute to plot
numeric; aspect ratio of image
integer; specify three bands to form an rgb composite
numeric; passed on to rgb
character; x axis label
character; y axis label
x axis limits
y axis limits
logical; see image.default
logical; print values as text on image?
# NOT RUN { tif = system.file("tif/L7_ETMs.tif", package = "stars") x = st_stars(tif) image(x, col = grey((3:9)/10)) # }
Run the code above in your browser using DataLab