Learn R Programming

pcds (version 0.1.1)

plot.Extrema: Plot an Extrema object

Description

Plots the data points and extrema among these points together with the reference object (e.g., boundary of the support region)

Usage

# S3 method for Extrema
plot(x, asp = NA, xlab = " ", ylab = " ", zlab = "", ...)

Arguments

x

Object of class Extrema.

asp

A numeric value, giving the aspect ratio for y axis to x-axis y/x for the 2D case, it is redundant in the 3D case (default is NA), see the official help for asp by typing "? asp".

xlab, ylab, zlab

Titles for the x and y axes in the 2D case, and x, y, and z axes in the 3D case, respectively (default is "" for all).

Additional parameters for plot.

Value

None

See Also

print.Extrema, summary.Extrema, and print.summary.Extrema

Examples

Run this code
# NOT RUN {
n<-20
dat<-runifTe(n)$gen.points
Ext<-cl2edgesTe(dat)
Ext
plot(Ext,asp=1)

# }

Run the code above in your browser using DataLab