how to turn off scientific notations in figure ??? likein mine i'm getting 3+e02 i want it 300 only
Afficher commentaires plus anciens
rather than having 3e+04 how to get 30000
Réponses (1)
try this:
for X-label
curtick = get(gca, 'XTick');
set(gca, 'XTickLabel', cellstr(num2str(curtick(:))));
for Y-label
curtick = get(gca, 'YTick');
set(gca, 'YTickLabel', cellstr(num2str(curtick(:))));
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!