powered by
Draw a single cluster using bezier curves
drawClustBezier(xpos, ytop, ybtm, color, nest.level, pad.left = 0, border = 1, col.border = NULL)
A vector of x values for control points
A vector of y values for control points on the top
A vector of y values for control points on the bottom
A color value for this shape
An integer describing how deeply this is nested
A numeric amount of extra padding to add to the left side of the shape
A numeric width for the border line around this polygon
A color for the border line
No return value, outputs on graphics device
# NOT RUN { drawClustBezier(xpos=c(0,30,75,150), ytop=c(100,51,51,99), ybtm=c(0,49,49,1), color="red", nest.level=1) # } # NOT RUN { # }
Run the code above in your browser using DataLab