torusAxis {sdetorus} | R Documentation |
Draws pretty axis labels for circular variables
Description
Wrapper for drawing pretty axis labels for circular variables.
To be invoked after plot
with axes = FALSE
has been called.
Usage
torusAxis(sides = 1:2, twoPi = FALSE, ...)
Arguments
sides |
an integer vector specifying which side of the plot the axes are
to be drawn on. The axes are placed as follows: |
twoPi |
flag indicating that |
... |
further parameters passed to |
Details
The function calls box
.
Value
This function is usually invoked for its side effect, which is to add axes to an already existing plot.
Examples
grid <- seq(-pi, pi, l = 100)
plotSurface2D(grid, grid, f = function(x) sin(x[1]) * cos(x[2]),
nLev = 20, axes = FALSE)
torusAxis()
[Package sdetorus version 0.1.10 Index]