Extends the Y-Axis limits if the error bars extend further than the current limits. Sets the y-limits to the smallest (and largest) value between the error bars and current plot limits.
1 | extendYaxisLimits(gsplot, comparisonLims, side)
|
gsplot |
The gsplot object to extend limits for |
comparisonLims |
A vector containing minimum and maximum points to compare to Y-axis limits |
side |
The axis to be changed/compared to (default is 2, the y-axis). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.