plot.wt: Plots wavelet transform

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/sowas.R

Description

This function plots objects of type "wt" (wavelet transform objects) from the functions wsp,wcs,wco. Modulus and (if possible) phase are plotted.

Usage

1
2
3
4
5
6
  plot.wt(wt, markt = -999, marks = -999, t1 = NULL,
    t2 = NULL, logscale = FALSE, phase = FALSE, units = "",
    plottitle = "", device = "screen", file = "wt",
    split = FALSE, color = TRUE, pwidth = 10, pheight = 5,
    labsc = 1.5, labtext = "", sigplot = 3, xax = NULL,
    xlab = NULL, yax = NULL, ylab = NULL)

Arguments

wt

Wavelet transformation object

markt

Vector of times to be marked by vertical dotted lines. When set to -999 (default), no lines are plotted.

marks

Vector of scales to be marked by horizontal dotted lines. When set to -999 (default), no lines are plotted.

t1

Starting time of the plot. If NULL (default), then the plot covers the entire range available

t2

Ending time of the plot. If NULL (default), then the plot covers the entire range available

logscale

When TRUE, the contours are plotted in logarithmic scale

phase

TRUE if phase is to be plotted

units

character string giving units of the data sets. Default: ""

plottitle

character string giving plot title

device

"screen" or "ps"

file

character string giving filename of graphical output without extension

split

when TRUE, modulus and phase are splitted into two files. Default: FALSE

color

TRUE (default): color plot, FALSE: gray scale

pwidth

width of plot in cm

pheight

height of plot in cm

labsc

scale of labels, default: 1, for two-column manuscripts: 1.5, for presentations: >2

labtext

puts a label in upper left corner of the plot

sigplot

0: no significance test plotted, 1: results from pointwise test, 2: results from areawise test, 3: results from both tests

Details

This function has to be called with an object of type "wt" (wavelet transformation object, output from wsp,wcs,wco). It calls plotwt(). When cv=0 or -1 is chosen, no critical values are plotted. The cone of influence is marked by black lines. If cv is a vector, the routine assumes that every value represents a critical value, which is constant in scale. If cv is a matrix, it assumes every row to contain scale dependent critical values, each row stands for one significance level. Values outside the cone of influence should be interpreted very carefully, as they result from a significant contribution of zero padding at the beginning and the end of the time series. For a better visualization, additional dotted lines marking distinct times or scales might be plotted by providing the vectors markt and marks.

Value

No value returned

Author(s)

D. Maraun

See Also

plotwt, wsp, wcs, wco

Examples

1
2
3
4
##
data(nino3)
nino3wsp <- wsp(nino3,nreal=0)
plot(nino3wsp)

Dasonk/SOWAS documentation built on May 6, 2019, 1:36 p.m.