View source: R/textBoxPlacement.R
ylim | R Documentation |
compute the numeric vector ylim
ylim(yList, yrange, textBoxHeights, sortB, permInd)
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() |
returns a numeric vector ylim
# demonstrate effect of sorting the curves
plot.new()
ylim(yList1,yrange(yList1),textBoxUserUnits(textList,yrange(yList1),verbose=TRUE),
FALSE,permInd(yrange(yList1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.