

Space = 0.3, ticktype = "detailed", d = 2) # hist3D and ribbon3D with greyish background, rotated, rescaled. If TRUE, then the surfaces will be added to the current plot. By default a red-yellow-blue color scheme (?jet.col) is used

The mtcars data will be used: data(mtcars) This is described at the end of the present article. The package plot3Drgl allows to plot easily the graph generated with plot3D in openGL, as made available by package rgl. This “4D” plot (x, y, z, color) with a color legend is not (easily) possible using the packages mentioned above (scatterplot3d, scatter3d, rgl). In addition to the x, y (and z) values, an additional data dimension can be represented by a color variable (argument colvar). Plot3D, from Karline Soetaert, is an R package containing many functions for 2D and 3D plotting: scatter3D, points3D, lines3D, text3D, ribbon3d, hist3D, etc. To close the discussion about 3D, in this tutorial I’ll describe the impressive plot3D package and its extension plot3Drgl package. In my previous articles, I already described how to make 3D graphs in R using the package below: 3D fancy Scatter plot with small dots on basal plane.Add points and text to an existing plot.

Change the type of the box around the plot.Functions for scatter plots and texts in 2D and 3D.
