logaxis: Logarithmic axis ticks

logaxisR Documentation

Logarithmic axis ticks

Description

Logarithmic axis ticks

Usage

logaxis(side, lat = -10:10, base = 10, ...)

Arguments

side

an integer specifying which side of the plot the axis is to be drawn on. The axis is placed as follows: 1=below, 2=left, 3=above and 4=right.

lat

as argument at of axis but as the exponents of log(y, base=base)

base

base of the logarithm

...

other graphical parameters may also be passed as arguments to this function, particularly, cex.axis, col.axis and font.axis for axis annotation, i.e. tick labels, mgp and xaxp or yaxp for positioning, tck or tcl for tick mark length and direction, las for vertical/horizontal label orientation, or fg instead of col, and xpd for clipping. See par on these.

Parameters xaxt (sides 1 and 3) and yaxt (sides 2 and 4) control if the axis is plotted at all.

Note that lab will partial match to argument labels unless the latter is also supplied. (Since the default axes have already been set up by plot.window, lab will not be acted on by axis.)


raim/segmenTools documentation built on Feb. 16, 2025, 10:40 p.m.