Add a miniature bifurcation set for the cusp catastrophe to an existing plot.
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)
No return value. Called for its side effect.
x-axis range of the plot window
y-axis range of the plot window
x-axis position of drawing
y-axis position of drawing
scaling applied to drawing along x-axis
scaling applied to drawing along y-axis
aspect ratio
0, 1, 2, 3, or 4; indicates which part of the cusp surface should be marked
color used for marking a part of the cusp surface
color used for the marked part of the cusp surface. See polygon
for details.
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.
color for marking the bifurcation set
background color of the cusp surface
arguments passed to rect
and polygon
data.frame
, depricated
Raoul Grasman
This function is mainly intended for internal use by cusp.plot
.
plot.cusp
, polygon
if (FALSE) {
plot(1:10)
draw.cusp.bifset(mark=0) # no marking
}
Run the code above in your browser using DataLab