plot.d.ellipse: Plot data ellipses

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

Description

Plots a number of data ellipses specified by

Usage

1
2
3
4
5
6
	## S3 method for class 'd.ellipse'
plot(x, col.ellipse = 1, lty.ellipse = 1, lwd.ellipse = 1, 
		fill = NA, density = NULL, angle = 45, add = FALSE, npoints = 100, 
		xlim = NA, ylim = NA, 
		prinax = FALSE, col.prinax = 1, lty.prinax = 1, lwd.prinax = 1, 
		xlab=NULL, ylab=NULL, ...)

Arguments

x

An object of class d.ellipse

col.ellipse, lty.ellipse, lwd.ellipse

Colour, line type and line width for the ellipse(s). Can be vectors, allowing different colour, line type etc. Recycled as necessary to length length(x).

fill, density, angle

Fill colour, line density and line angle for each ellipse in x. See polygon for details. Can be vectors. Recycled as necessary to length length(x).

add

If TRUE, ellipses are added to an existing plot. If FALSE a new plot is created.

npoints

Controls the number of points used to form each ellipse. See data.ellipse for details.

xlim, ylim

Plot limits. Ignored if add == FALSE

prinax

If TRUE (the default), the principal axes are drawn on the plot.

col.prinax, lty.prinax, lwd.prinax

Colour, line type and line width for principal axes.

xlab, ylab

Axis labels passed to plot if add == FALSE. Defaults to dimension names in x or, if those are NULL, to "X" and "Y".

...

Additional arguments, passed to plot if add == TRUE.

Details

A series of ellipses specified in x is plotted. The function is primarily used for adding ellipses to a Youden plot.

Value

The function is called for its side effect, which is the drawing of ellipses.

Author(s)

S L R Ellison

See Also

data.ellipse, youden.plot

Examples

1
2
3
4
data(chromium)
cov.Cr <- cov.dellipse(chromium)
dellipse.Cr <- data.ellipse(cov.Cr, plot=FALSE)
plot(dellipse.Cr)

metRology documentation built on May 2, 2019, 12:20 p.m.