Learn R Programming

mvcwt (version 1.3.1)

contour.mvcwt: Make contour plot of a mvcwt object

Description

Draws a contour plot

Usage

# S3 method for mvcwt
contour(x, z.fun = "Re", bound = 1, reset.par = TRUE, ...)

Arguments

x

an object produced by mvcwt or wmr

z.fun

a function to apply to the data prior to plotting

bound

if finite, draw boundary lines bound * scale from plot boundaries

reset.par

if true, reset the graphical parameters on exit

passed to the contour function

Value

The object x is returned invisibly.

Details

Draws a contour plot. If you want to add more plotting elements, set reset.pars to false.

See Also

mvcwt, wmr

Examples

Run this code
# NOT RUN {
data(lrlake)
x = subset(lrlake, Basin == "Treatment", LRL.Day) / 365.25
y = subset(lrlake, Basin == "Treatment", -(1:8))
w = mvcwt(x, y, min.scale = 0.25, max.scale = 4)
mr = wmr(w)
contour(mr)
# }

Run the code above in your browser using DataLab