Plot 3D surface
显示 更早的评论
I have 3 vectors x, y, z and I would like to generate a 3D surface instead of having just separate points (e.g.: plot3 or scatter3). Note z is function of x and y, but I have calculated this before. I have tried to use scatteredInterpolant, meshgrid and mesh, however this creates z points in zones/areas that are supposed to be empty. How can I avoid this and just plot the surface within the z limits/boundaries?
Thanks in advance for the help!
2 个评论
Jeevan Joishi
2016-6-8
Hi PallaC,
Can you explain what went wrong with scatteredInterpolant, meshgrid, mesh with some snapshots or post sample values for x,y and z.
PallaC
2016-6-10
回答(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!

