Learn R Programming

RSEIS (version 3.5-2)

gaddtix: add tic marks

Description

Add tic marks to plot

Usage

gaddtix(side = 3, pos = 0, tck = 0.005, at = c(0, 1), labels = NULL, col = 2, addline = FALSE, ...)

Arguments

side
side = 1, 2, 3, 4
pos
relative to axis
tck
tic length
at
vector of positions
labels
vector of labels
col
color for plotting
addline
add lines
...
graphical parameters from par

Value

Graphical side effect

See Also

par

Examples

Run this code


plot(c(0,1), c(0,1), type='n', ann=FALSE, axes=FALSE)

gaddtix(side=1, pos=0,   tck=-0.01, at=seq(from=0, to=.5, by=.2) ,
labels=seq(from=0, to=.5, by=.2), col=1)

Run the code above in your browser using DataLab