volume_plot(mask, spacing, facecolor, facealpha, edgecolor)
Plotting of 3D binary volumes.
volume_plot(V) plot the 3D binary volume by means of patches.
volume_plot(V, spacing) change the spacing per each axes (X, Y, Z)
[def.: 1, 1, 1]).
volume_plot(V, spacing, facecolor) change the face color in the color
matlab format ('r' or [255 0 0] or 'red') [def.: RED].
volume_plot(V, spacing, facecolor, facealpha) set the transparency value
(from 0 to 1) for the face pach [def.: 1].
volume_plot(V, spacing, facecolor, facealpha, edgecolor) change the edge
color in the color matlab format ('r' or [255 0 0] or 'red')
[def.: 'none'].
h = volume_plot(V,...) return the patch handler.
Copyright 2016 Gabriele Piantadosi
Cite As
Gabriele Piantadosi (2024). volume_plot(mask, spacing, facecolor, facealpha, edgecolor) (https://www.mathworks.com/matlabcentral/fileexchange/55454-volume_plot-mask-spacing-facecolor-facealpha-edgecolor), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.