Axis labeling in engineering units
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everybody,
I want to get nice axis labeling within Matlab plots. Instead of e.g. "5 x 10^-6" I prefer "5µ". I'm just keen on Engineering units like n (10^-9), k (10^-3) etc. Is it possible to set the Labels both for x and y axis like this?
Thanks in advance
0 commentaires
Réponses (1)
Star Strider
le 28 Jan 2015
If you mean tick labels, you would have to do that manually, using the get and set functions, for example along with the appropriate 'Xtick' and 'XTickLabel', and other properties. You might also have to use the text function. If you simply want to use the axis labels (such as xlabel), multiply your 1E-6 data by 1E+6 and use xlabel and the appropriate TeX symbols (such as ‘\mu’ if you need them) to label the axis. See the documentation for Text Properties for details, particularly the 'Interpreter' option.
0 commentaires
Voir également
Catégories
En savoir plus sur Axis Labels 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!