Axis labeling in engineering units
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Star Strider
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!