| plot_voxels | R Documentation |
The plot method for objects of class "voxels" created using the voxels function.
plot_voxels(
voxels,
add.points = TRUE,
add.voxels = TRUE,
border = TRUE,
points.size = 1,
points.col = "black",
fill.col = "forestgreen",
line.lwd = 0.5,
line.col = "black",
alpha = 0.1,
...
)
voxels |
Object of class |
add.points |
Logical, if |
add.voxels |
Logical, if |
border |
Logical, if |
points.size |
The points size, a positive number to use if plot |
points.col |
A |
fill.col |
A |
line.lwd |
The line width, a positive number, defaulting to 0.5. |
line.col |
A |
alpha |
A positive numeric vector describing the transparency of the voxels to fill. This value most be between 0.0 (fully transparent) .. 1.0 (opaque). |
... |
General arguments passed to |
A 3D plot of a point cloud and voxels.
J. Antonio Guzmán Q.
voxels, voxels_counting, summary_voxels
data("pc_tree")
###Create cubes of a size of 7x7x3.5.
vox <- voxels(pc_tree, edge_length = c(7, 7, 3.5))
plot_voxels(vox)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.