drawClustPolygon | R Documentation |
Draw a single cluster using polygons
drawClustPolygon(
xpos,
ytop,
ybtm,
color,
nest.level,
pad.left = 0,
border = 1,
col.border = NULL,
ramp.angle = 0.5,
annot = "",
annot.angle,
annot.col,
annot.cex,
annot.pos,
annot.offset
)
xpos |
A vector of x values for control points |
ytop |
A vector of y values for control points on the top |
ybtm |
A vector of y values for control points on the bottom |
color |
A color value for this polygon |
nest.level |
An integer describing how deeply this is nested |
pad.left |
A numeric amount of extra padding to add to the left side of the shape |
border |
A numeric width for the border line around this polygon |
ramp.angle |
A numeric value between 0 and 1 that indicates how steeply the polygon should expand from it's origin to the first measured point |
No return value, outputs on graphics device
## Not run:
drawClustPolygon(xpos=c(0,30,75,150), ytop=c(100,51,51,99), ybtm=c(0,49,49,1), color="red", nest.level=1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.