plot-methods: Method for plotting DepthCurve and DDPlot object.

Description Usage Arguments Examples

Description

Plot Depth curve

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot(x, y, ...)

## S4 method for signature 'DDPlot,ANY'
plot(x)

## S4 method for signature 'DepthCurve,ANY'
plot(x)

## S4 method for signature 'DepthCurveList,ANY'
plot(x)

Arguments

x

object that inherits from DepthCurve class (ScaleCurve or AsymmetryCurve), or DDPlot class.

y

the y coordinates of points in the plot, optional if x is an appropriate structure.

...

Arguments to be passed to methods, such as graphical parameters (see par). Many methods will accept the following arguments:

type

what type of plot should be drawn. Possible types are

  • "p" for points,

  • "l" for lines,

  • "b" for both,

  • "c" for the lines part alone of "b",

  • "o" for both ‘overplotted’,

  • "h" for ‘histogram’ like (or ‘high-density’) vertical lines,

  • "s" for stair steps,

  • "S" for other steps, see ‘Details’ below,

  • "n" for no plotting.

All other types give a warning or an error; using, e.g., type = "punkte" being equivalent to type = "p" for S compatibility. Note that some methods, e.g. plot.factor, do not accept this.

main

an overall title for the plot: see title.

sub

a sub title for the plot: see title.

xlab

a title for the x axis: see title.

ylab

a title for the y axis: see title.

asp

the y/x aspect ratio, see plot.window.

Examples

1
2
3
4
require(MASS)
x = mvrnorm(n = 100, mu = c(0,0), Sigma = 3*diag(2))
sc = scaleCurve(x)
plot(sc)

depthproc documentation built on May 2, 2019, 5:46 p.m.