Learn R Programming

analogue (version 0.17-7)

plot.evenSample: Plot distribution of samples along gradient

Description

plot method for objects produced by evenSample. Draws a histogram of the number of samples per gradient segment.

Usage

# S3 method for evenSample
plot(x, add = FALSE, xlim = NULL, ylim = NULL, col = "grey",
     border = "grey", lty = NULL, ylab, xlab, main = NULL, sub = NULL,
     ann = TRUE, axes = TRUE, ...)

Value

A plot is draw is drawn on the currently active device.

Arguments

x

an object of class "evenSample", resulting from a call to evenSample

add

logical; should the histogram of counts be added to an existing plot?

xlim, ylim

numeric; user-specified axis limits. If not suplied suitable defaults are used

col, border

colours for the fill and border of the histogram bars respectively.

lty

the line type with which to draw the histogram bars

ylab, xlab, main, sub

character strings used to label the plot

ann

logical; should the default annotations be added to the plot. This relates to the plot main and sub titles and the x and y axis labels.

axes

logical; should plot axes be drawn?

...

additional arguments passed to/from other methods.

Author

Gavin L. Simpson

See Also

evenSample for the function used to create objects used by this plot method.