Colorbar related
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi I have drawn some plots and added colorbar to it...The colorbar values are 10^-4*[-3 -2 -1 0 1 2 3]. I want to set the colorbar such that the values which lie between the intervals should be displayed. And is there any way to get the number in the way as follows [-3*10^-4 -2*10^-4 -1*10^-4 0 1*10^-4 2*10^-4 1*10^-4] on the colorbar....I tried in many ways but could not succeed. Thanks in advance
0 commentaires
Réponse acceptée
Paulo Silva
le 27 Août 2011
colorbar('YTickLabel',...
{'-3*10^-4','-2*10^-4','-1*10^-4','0',...
'1*10^-4','2*10^-4','3*10^-4'})
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Colorbar 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!