y.scale.bar: Y axis scale bar for stacked plots

Description Usage Arguments See Also

Description

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.

Usage

1
y.scale.bar(length, pos = 0.5, abs.pos, las = par("las"), ...)

Arguments

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 par('yaxp')).

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 par('las'))

...

Other arguments to pass to axis (See par())

See Also

stack.plot for drawing stacked plots


sushilashenoy/zoom.plot documentation built on May 30, 2019, 8:42 p.m.