represent a volume given two surfaces
Show older comments
I have two surfaces given by the grids X, Y, Z1 and X, Y, Z2. Both Z grids share the same X and Y grids. I can plot each Z surface, but I'd like to represent the space between them as a solid mass. Is there a way to represent the space between these two Z surfaces a simple volume akin to a patch or a fill in 2D space?
4 Comments
Walter Roberson
on 9 Aug 2013
Do you just need the outside "skin" drawn; or do you need the inside drawn as long blocks with rectangular cross-section; or do you want the inside filled with a bunch of cubes of uniform size ?
Chad Greene
on 9 Aug 2013
Walter Roberson
on 9 Aug 2013
Any NaN or inf values? If not then the skin to be drawn would just be based on the rectangle around the X and Y limits, at least if the grids are regular spacing. Are the X Y arrays perhaps not regular spacing ?
Chad Greene
on 9 Aug 2013
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!