3d plot without grid
15 次查看(过去 30 天)
显示 更早的评论
To plot a 3d function z=f(x,y), Matlab 3d plot commands such as mesh(X,Y,Z) need a grid of X and Y over which Z is evaluated. What if the data to be plotted is in the form of 3-tuples:(x1, y1, z1), (x2,y2,z2), ...? Is there a function for that?
Thanks
0 个评论
回答(1 个)
Star Strider
2015-11-24
See if the plot3 function does what you want. Another option is scatter3.
2 个评论
Star Strider
2015-11-25
If you want to create a grid for scattered data, use one of the Scattered Data Interpolation functions.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!