View source: R/contour_tools.R
get.contours | R Documentation |
Takes contours of contourLines
function and extracts the associated coordinates.
get.contours(x)
x |
A list returned by the |
Returns a 2-column matrix containing the coordinates making up the contours in contours.list.
Joshua French
contourLines, contour
data(volcano)
x <- 10*1:nrow(volcano)
y <- 10*1:ncol(volcano)
cL <- contourLines(x, y, volcano)
out <- get.contours(cL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.