| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
lims = volumebounds(X,Y,Z,V)
lims = volumebounds(X,Y,Z,U,V,W)
lims = volumebounds(V), lims = volumebounds(U,V,W)
lims = volumebounds(X,Y,Z,V) returns the x, y, z, and color limits of the current axes for scalar data. lims is returned as a vector:
[xmin xmax ymin ymax zmin zmax cmin cmax]
You can pass this vector to the axis command.
lims = volumebounds(X,Y,Z,U,V,W) returns the x, y, and z limits of the current axes for vector data. lims is returned as a vector:
[xmin xmax ymin ymax zmin zmax]
lims = volumebounds(V), lims = volumebounds(U,V,W) assumes X, Y, and Z are determined by the expression
[X Y Z] = meshgrid(1:n,1:m,1:p)
where [m n p] = size(V).
This example uses volumebounds to set the axis and color limits for an isosurface generated by the flow function.
[x y z v] = flow; p = patch(isosurface(x,y,z,v,-3)); isonormals(x,y,z,v,p) daspect([1 1 1]) isocolors(x,y,z,flipdim(v,2),p) shading interp axis(volumebounds(x,y,z,v)) view(3) camlight lighting phong

Volume Visualization for related functions

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |