Learn R Programming

Nonpareil (version 3.5.3)

plot.Nonpareil.Set: Plot a Nonpareil.Set object.

Description

Plot a Nonpareil.Set object.

Usage

# S3 method for Nonpareil.Set
plot(
  x,
  col = NA,
  labels = NA,
  main = "Nonpareil Curves",
  legend.opts = list(),
  ...
)

Value

Returns invisibly a Nonpareil.Set object (same as x input).

Arguments

x

Nonpareil.Set object to plot.

col

Color of the curves (vector). If passed, it overrides the colors set in the Nonpareil.Curve objects. Values are recycled.

labels

Labels of the curves (vector). If passed, it overrides the labels set in the Nonpareil.Curve objects. Values are recycled.

main

Title of the plot.

legend.opts

Any additional parameters passed to Nonpareil.legend. If FALSE, the legend is not displayed.

...

Any additional parameters passed to plot.Nonpareil.Curve.