my.axis: Add a pretty axis

View source: R/plot_sim_ts.R

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?


metafolio documentation built on Oct. 21, 2023, 1:06 a.m.