rgl.new {rglplus} | R Documentation |
Open and initialize new 3D plot
Description
Calls open3d
and various additional functions to initialize a 3d plot.
Usage
rgl.new(
width = 0.5,
aspect = 16/9,
orientation = "xy",
fov = 30,
col = "white",
light = TRUE,
xlim = c(0, 1),
ylim = c(0, 1),
zlim = c(0, 1),
xlab = NULL,
ylab = NULL,
zlab = NULL,
axes = FALSE,
fixed = TRUE,
close.all = TRUE,
...
)
Arguments
width |
either an integer (>1) specifying the number of pixels in the horizontal direction, or a real value (>0 and <=1) specifying the fraction of the available pixels. If the selected aspect ratio causes the number of vertical pixels to exceed the available number, the width is reduced as much as necessary. |
aspect |
aspect ratio of window, defined as the ratio of vertical-to-horizontal size. |
orientation |
3-by-3 rotation matrix or 2-character string specifying the orientation of the camera. For character string the allowed values are 'xy', 'yx', 'yz', 'zy', 'zx', 'xz', where the first letter is the axis displayed from left to right and the second letter is the axis displayed from bottom to top. The third axis points either out of the screen or into the screen following the right-hand convention. This is the same as the |
fov |
field of view in degrees, as used in |
col |
background color |
light |
logical flag. If |
xlim |
2-vector specifying the range along the x-axis |
ylim |
2-vector specifying the range along the y-axis |
zlim |
2-vector specifying the range along the z-axis |
xlab |
character string specifying the label of the x-axis |
ylab |
character string specifying the label of the y-axis |
zlab |
character string specifying the label of the z-axis |
axes |
logical flag specifying whether axes are displayed |
fixed |
logical flag. If |
close.all |
logical flag. If |
... |
additional arguments for |
Value
None
Author(s)
Danail Obreschkow