volume_plot(mask, spacing, facecolor, facealpha, edgecolor)

Plotting of 3D binary volumes.
66 Downloads
Updated 17 May 2016

View License

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
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Lighting, Transparency, and Shading in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Changed the argument from ratio to spacing (in terms of data aspect).

1.0.0.0