Description Usage Arguments See Also
In stacked plots the standard y axis doesn't really work - it is vertical lengths of line segments that correspond to data values, not the absolute y positions. This function draws a scale bar in the space where the yaxis would normally be.
1 | y.scale.bar(length, pos = 0.5, abs.pos, las = par("las"), ...)
|
length |
(Optional) if not supplied, the length will be the distance
between two ticks if the y axis had been plotted in the standard way (uses
|
pos |
Vertical location for scale bar where 0 is at the bottom, 1 is at the top, and 0.5 (default) is in the middle. |
las |
Controls orientation of axis label text (See |
... |
Other arguments to pass to axis (See |
stack.plot
for drawing stacked plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.