Learn R Programming

RSurvey (version 0.5.0)

minorTics: Place Minor Tick Marks on Plot Axis

Description

Adds minor axis tic marks to the active plot.

Usage

minorTics(side, loc.tics = NULL)

Arguments

side
integer; a vector of values specifying the plot sides for the axis to be drawn.
loc.tics
numeric; a vector giving the locations of major tic marks

Details

The plot sides are designated as: 1 = below, 2 = left, 3 = above, and 4 = right.

See Also

axis

Examples

Run this code
plot(1:10)
minorTics(1)
minorTics(2, loc.tics = 4:8)
minorTics(3:4)

Run the code above in your browser using DataLab