drawClustSpline: Draw a single cluster using splined curves

View source: R/draw.R

drawClustSplineR Documentation

Draw a single cluster using splined curves

Description

Draw a single cluster using splined curves

Usage

drawClustSpline(
  xpos,
  ytop,
  ybtm,
  color,
  nest.level,
  pad.left = 0,
  border = 1,
  col.border = NULL,
  annot = "",
  annot.angle,
  annot.col,
  annot.cex,
  annot.pos,
  annot.offset
)

Arguments

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 shape

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 of the border line around this polygon

col.border

A color for the border line

Value

No return value, outputs on graphics device

Examples

## Not run: 
drawClustSpline(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)

chrisamiller/fishplot documentation built on Sept. 15, 2023, 1:53 p.m.