powered by
This is a wrapper for R's axis function. See R's documentation for graphics::axis for further details.
axis(side, Rcss = "default", Rcssclass = NULL, ...)
integer specifying what side of the plot to draw the axis. The codes are 1: bottom, 2: left, 3: top, 4: top. vertices
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle()
sub class of style sheet
Further parameters, see documentation of graphics::axis
# NOT RUN { # 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) # }
Run the code above in your browser using DataLab