| axis3js | R Documentation |
This is used as part of the plot3js() function but can be called
separately to add an axis, generally in combination after other lower
level functions like plot3js.new() and plot3js.window().
axis3js(
data3js,
side,
at = NULL,
labels = NULL,
cornerside = "f",
labeloffset = 0.1,
...
)
data3js |
The data3js object |
side |
The axis side, either "x", "y" or "z" |
at |
Where to draw labels |
labels |
Vector of labels to use |
cornerside |
See |
labeloffset |
Amount of offset of axis labels from the edge of the plot |
... |
Other arguments to pass to |
Returns an updated data3js object
Other plot components:
arrows3js(),
box3js(),
grid3js(),
legend3js(),
light3js(),
lines3js(),
mtext3js(),
points3js(),
segments3js(),
shape3js(),
sphere3js(),
surface3js(),
text3js(),
triangle3js()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.