This is a wrapper for terra::plot()
Arguments
- x
a Raster* object
- ...
additional arguments passed to
terra::plot()
Examples
r <- terra::rast(nrows=108, ncols=21, xmin=0, xmax=10)
gplot(r)
gplot(r, col = "red")
gplot(r, col = "red", breaks = 10)
This is a wrapper for terra::plot()
a Raster* object
additional arguments passed to terra::plot()
r <- terra::rast(nrows=108, ncols=21, xmin=0, xmax=10)
gplot(r)
gplot(r, col = "red")
gplot(r, col = "red", breaks = 10)