A molaR surface plotting function.
DNE3d(
DNE_File,
setMax = 0,
logColors = TRUE,
signColor = TRUE,
concaveMute = FALSE,
cuttingFocus = FALSE,
main = "",
cex = 1,
legend = TRUE,
widget_size_px = 768,
scene_zoom = 1.5,
leftOffset = 0,
fieldofview = 0,
title_font_size_px = 30,
legend_magnify = 1,
fileName = NA,
binary = FALSE
)An object that stores the output of the DNE() function
User-defined upper range for plotting color scheme, see Details
Logical that log transforms the color scheme
Logical indicating whether or not to plot by concavity vs convexity. Plotting by curve orientation is the default.
Logical indicating whether or not to mute the concave portion of the Dirichlet normal density coloration. Default is FALSE.
Logical indicating whether or not to mute the concave portion and faces with Dirichlet normal density below the top quartile. Default is FALSE.
String indicating plot title
Numeric setting the relative size of the legend
Logical indicating whether or not a legend should be displayed
Sets the plot size in pixels. Default is 768 and always square
Set the initial viewing window of the 3d scene. Default is 1.5
Numeric between -1 and 1 setting the amount of offset for the plotted surface to the left. Larger values push surface farther to right.
Passes an argument to par3d() changing the field of view (in degrees) of the resulting 3D plot
Sets the title font size in pixels. Default is 30
Default set to 1, changes the scaling on legend.
String indicating a name to save the plotted surface to as a *.ply file; default of 'NA' will not save a file
Logical indicating whether or not the saved surface plot should be binary, passed to vcgPlyWrite()
if (FALSE) {
DNE_output <- DNE(Tooth)
DNE3d(DNE_output)
}
Run the code above in your browser using DataLab