How can i plot a colormap (2d)
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
ionas
le 30 Mai 2014
Réponse apportée : Image Analyst
le 30 Mai 2014
I have a matrix where 1st column is x, second y and third z
I'm trying to plot a surface with z coordinate to be the color. can anyone help me?
thank you in advance George
0 commentaires
Réponse acceptée
Image Analyst
le 30 Mai 2014
Try griddedInterpolant() to make a solid array of z values at all x and y locations. Then use surf(), colormap(), and colorbar().
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Color and Styling dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!