ylim: ylim

View source: R/textBoxPlacement.R

ylimR Documentation

ylim

Description

compute the numeric vector ylim

Usage

ylim(yList, yrange, textBoxHeights, sortB, permInd)

Arguments

yList

list whose components are numeric vectors of the y values for overlaid curves

yrange

numeric vector (max-min) for vector of y values

textBoxHeights

return value of textBoxUserUnits()

sortB

Boolean if TRUE staggered curves are reordered, with largest range curve on bottom of graph

permInd

return value of permInd()

Value

returns a numeric vector ylim

Examples

# demonstrate effect of sorting the curves

plot.new()
ylim(yList1,yrange(yList1),textBoxUserUnits(textList,yrange(yList1),verbose=TRUE),
  FALSE,permInd(yrange(yList1)))


textBoxPlacement documentation built on March 31, 2023, 6:05 p.m.