changing Ticklabel in colorbar
Afficher commentaires plus anciens
Hi,
I have plotted an image with colorbar.
imagesc(pfield,[0 10]);
h=colorbar
How can I change the ticklabels in the colorbar using set() command? I need only [0 5 10]
-saima
Réponses (1)
Azzi Abdelmalek
le 18 Août 2013
set(gca,'xtick',[0 5 10])
Catégories
En savoir plus sur Axis Labels dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!