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 (2026). 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 > Labels and Styling > Interactions, Camera Views, and Lighting > Lighting, Transparency, and Shading >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
