axis {Rcssplot} | R Documentation |
Add a styled axis to a plot
Description
This is a wrapper for R's axis function. See R's documentation for graphics::axis for further details.
Usage
axis(side, Rcss = "default", Rcssclass = NULL, ...)
Arguments
side |
integer specifying what side of the plot to draw the axis. The codes are 1: bottom, 2: left, 3: top, 4: top. vertices |
Rcss |
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() |
Rcssclass |
sub class of style sheet |
... |
Further parameters, see documentation of graphics::axis |
Examples
# draw separate axes on an empty plot
plot(c(0, 1), c(0, 1), type="n", axes=FALSE, xlab="x-axis", ylab="")
axis(1)
axis(3)
[Package Rcssplot version 1.0.0 Index]