Learn R Programming

textBoxPlacement (version 1.0)

ylim: ylim

Description

compute the numeric vector ylim

Usage

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

Value

returns a numeric vector ylim

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()

Examples

Run this code
# demonstrate effect of sorting the curves

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

Run the code above in your browser using DataLab