Calls open3d and various additional functions to initialize a 3d plot.
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,
...
)None
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 ratio of window, defined as the ratio of vertical-to-horizontal size.
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 plane argument of rgl.orthoview.
field of view in degrees, as used in view3d
background color
logical flag. If TRUE, the standard light source created by open3d will be light up the scene. If FALSE, no light source is added and the user must create custom light sources manually by calling light3d.
2-vector specifying the range along the x-axis
2-vector specifying the range along the y-axis
2-vector specifying the range along the z-axis
character string specifying the label of the x-axis
character string specifying the label of the y-axis
character string specifying the label of the z-axis
logical flag specifying whether axes are displayed
logical flag. If TRUE (default), the range of the axes is *not* adjusted as objects are drawn.
logical flag. If TRUE (default), all existing rgl windows are closed before the new window is opened.
additional arguments for view3d.
Danail Obreschkow