Using 3D Surface Plots
1 次查看(过去 30 天)
显示 更早的评论
Say i have 3 arrays X, Y, Z full of data which correspond to the x co-ordinate, y co-ordinate and a value at that point, is it possible to plot this as a surface plot?(Co-ordinates correspond to mesh points of a 2D structure). My understanding of how they are plotted is limited and the using the help for surface() did not help.
Thanks
0 个评论
采纳的回答
Star Strider
2016-3-10
I don’t know what your data are. If they are matrices, use the surf or mesh functions. The scatteredInterpolant function is another option. If they are vectors, I would use plot3 or scatter3.
更多回答(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!