- What is your current formatting?
- What do you want to change it to?
- Have you checked if the answer to your question isn't in the example section of the colorbar doc?
How can I change tickformat in the colorbar.
30 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How can I change tickformat in the colorbar. Regards.
2 commentaires
Pawel Jastrzebski
le 13 Mar 2018
Réponses (1)
Walter Roberson
le 14 Mar 2018
cb = colorbar();
cb.YRuler.TickLabelFormat = '%.2f';
4 commentaires
jonas
le 21 Déc 2019
the following works in 2019a:
cb.Ruler.TickLabelFormat
Note: 'Ruler' and not 'YRuler'.
Voir également
Catégories
En savoir plus sur Axis Labels dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!