plot.contourLines: Plot contour lines

View source: R/contour_tools.R

plot.contourLinesR Documentation

Plot contour lines

Description

Plot contour lines from list produced by contourLines function.

Usage


## S3 method for class 'contourLines'
plot(x, begin=1, end = length(x), add = FALSE, ...)

Arguments

x

The list of contour lines (created by contourLines) you want to plot.

begin

Beginning position in list of contour lines you want to plot.

end

Ending position in list of contour lines you want to plot.

add

A boolean value indicating whether the contour lines should be added to an existing plot (add = TRUE) or should be plotted on a new plot (add = FALSE).

...

Additional arguments that will be passed to the plot or lines function.

Value

This function does not return anything; it only creates a new plot or modifies an existing plot.

Author(s)

Joshua French

Examples

data(volcano)
x <- 10*1:nrow(volcano)
y <- 10*1:ncol(volcano)
cL <- contourLines(x, y, volcano)
plot.contourLines(cL)

jpfrench81/SpatialTools documentation built on July 29, 2023, 8:01 a.m.