represent a volume given two surfaces
显示 更早的评论
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 个评论
Walter Roberson
2013-8-9
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
2013-8-9
Walter Roberson
2013-8-9
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
2013-8-9
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!