how to create surface plot with NX3 matrix?
Afficher commentaires plus anciens
how do I create a surface (surf) plot with a NX3 Matrix?
also how do i add a colorbar to this plot?
Thanks.
Réponses (1)
Image Analyst
le 23 Mai 2014
surf(M);
colormap(jet(256));
colorbar;
2 commentaires
Sameer
le 23 Mai 2014
Image Analyst
le 23 Mai 2014
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.
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!