Learn R Programming

emil (version 2.2.10)

nice_axis: Plots an axis the way an axis should be plotted.

Description

Plots an axis the way an axis should be plotted.

Usage

nice_axis(..., las = 1, lwd = 0, lwd.ticks = par("lwd"), lend = 2)

Arguments

...

Sent to axis.

las

Rotation of axis labels. Always horizontal by default.

lwd

Width of the line drawn along the plot area. Omitted by default since it overlaps with box and causes it to look thicker where the axis is.

lwd.ticks

Width of the tick lines. These are kept by default.

lend

Line endings, see par.