my.axis: Add a pretty axis
Description
Add a pretty axis
Usage
my.axis(side, shade_years = NULL, ylab = "", yticks = NA)
Arguments
side
Number indicating the side to add an axis (as
in the side number passed to
axis
).
shade_years
An optional numerical vector of length
two giving the minimum and maximum years over which to
add a light grey shading.
yticks
Logical: should y-axis ticks be added?