Last data update: 2014.03.03

R: Add a pretty axis
my.axisR Documentation

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.

ylab

Y axis label

yticks

Logical: should y-axis ticks be added?

Results