How to edit surf graph in MATLAB?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi. I want plot Matrix to surf 3d graph on left picture, but I plot show on right picture. How to fix or code me for plot graph on left picture?
#Thank you.

6 commentaires
Réponse acceptée
dbmn
le 21 Juil 2017
This should help you get started. I just added some lines to your code to make it look more like the old one
hdl = surf(B);
shading interp
xlabel('row')
ylabel('column')
% added stuff
colormap(jet) % old colormap
colormap(flipud(colormap)) % invert colormap (following Walters Remark)
hdl.EdgeColor = 'k' % black lines
3 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Colormaps 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!