how to create surface plot with NX3 matrix?
6 次查看(过去 30 天)
显示 更早的评论
how do I create a surface (surf) plot with a NX3 Matrix?
also how do i add a colorbar to this plot?
Thanks.
0 个评论
回答(1 个)
Image Analyst
2014-5-23
surf(M);
colormap(jet(256));
colorbar;
2 个评论
Image Analyst
2014-5-23
You can use other functions to fancy it up. Though it adds other objects - not sure if that's neater or messier. But you can use xlabel(), ylabel(), title(), test(), annotation(), axis(), grid(), set(), etc.
另请参阅
类别
在 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!