plot_extent function

Plot a SpatExtent

Plot a SpatExtent

Plot a SpatExtent. Use lines to add a SpatExtent to an existing map.

See plot for plotting other object types. methods

## S4 method for signature 'SpatExtent,missing' plot(x, y, ...)

Arguments

  • x: SpatExtent
  • y: missing
  • ...: additional graphical arguments for lines

See Also

plot

Examples

r <- rast() plot(ext(r))
  • Maintainer: Robert J. Hijmans
  • License: GPL (>= 3)
  • Last published: 2025-02-26