oceAxis {oce} | R Documentation |
Draw an Axis, Possibly with Decade-style Logarithmic Scaling
Description
Draw an Axis, Possibly with Decade-style Logarithmic Scaling
Usage
oceAxis(side, labels = TRUE, logStyle = "r", ...)
Arguments
side |
an integer specifying which axis to draw, with 1 for bottom axis, 2 for left axis,
3 for top axis, and 4 for right axis (as with |
labels |
either a vector of character values used for labels or a logical value indicating
whether to draw such labels. The first form only works if the coordinate is not logarithmic,
and if |
logStyle |
a character value that indicates how to draw the y axis, if
|
... |
other graphical parameters, passed to |
Value
Numerical values at which tick marks were drawn (or would have been drawn, if labels
specified to draw them).
Author(s)
Dan Kelley
Examples
library(oce)
Ra <- 10^seq(4, 10, 0.1)
Nu <- 0.085 * Ra^(1 / 3)
plot(Ra, Nu, log = "xy", axes = FALSE)
box()
oceAxis(1, logStyle = "decade")
oceAxis(2, logStyle = "decade")