How do I plot a 3d surface over a specified domain?
7 次查看(过去 30 天)
显示 更早的评论
I apologise if this has been answered before but I cannot find the answer!
I want to plot the surface: 3a(b-a)^2 / 24b over the 'wedge' in the positive orthant with a \leq b.
0 个评论
采纳的回答
Walter Roberson
2014-4-20
Create a rectangular grid that is the bounding box. For points inside the wedge, set the grid value to the expression you gave. For points outside the wedge, set the grid value to NaN. At the end, surf() the result.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!