draw.cusp.bifset {cusp}R Documentation

Add Cusp Bifurcation Set Diagram to Existing Plot

Description

Add a miniature bifurcation set for the cusp catastrophe to an existing plot.

Usage

draw.cusp.bifset(rx = par("usr")[1:2], ry = par("usr")[3:4], xpos = min(rx) + 
    0.01 * diff(rx)[1], ypos = max(ry) - 0.01 * diff(ry)[1], 
    xscale =  0.1 * diff(rx), yscale =  0.1 * diff(ry) / xscale, 
    aspect = 1, mark = 1, col = hsv(0.7, s = 0.8, alpha = 0.5), 
    border = NA, density = NA, bifurcation.set.fill = gray(0.8), 
    background = hsv(0.1, s = 0.1, alpha = 0.5), ..., X)  

Arguments

rx x-axis range of the plot window
ry y-axis range of the plot window
xpos x-axis position of drawing
ypos y-axis position of drawing
xscale scaling applied to drawing along x-axis
yscale scaling applied to drawing along y-axis
aspect aspect ratio
mark 0, 1, 2, 3, or 4; indicates which part of the cusp surface should be marked
col color used for marking a part of the cusp surface
border color used for the marked part of the cusp surface. See polygon for details.
density the density of shading lines of the marked part of the cusp surface, in lines per inch. The default value of NULL means that no shading lines are drawn. See polygon for details.
bifurcation.set.fill color for marking the bifurcation set
background background color of the cusp surface
... arguments passed to rect and polygon
X data.frame, depricated

Details

This function is mainly intended for internal use by cusp.plot.

Author(s)

Raoul Grasman

See Also

plot.cusp, polygon

Examples

## Not run: 
plot(1:10)
draw.cusp.bifset(mark=0) # no marking
## End(Not run)

[Package cusp version 2.2 Index]