xunits, yunits and zunits.m (Jul 2014)
When you require to write the units of your x-axis values, you use the XLABEL function.
Now you can use XUNITS to add them right with the labels. And, if you like it, it could use International System Units prefixes instead of the scientific notation.
Besides, you get the same format for all the numbers (check the Screenshot).
It works for log scale as well as the linear one, and includes YUNITS and ZUNITS functions.
Finally, it works after zooming or panning.
Enjoy it!
Zitieren als
Carlos Adrian Vargas Aguilera (2024). xunits, yunits and zunits.m (Jul 2014) (https://www.mathworks.com/matlabcentral/fileexchange/47154-xunits-yunits-and-zunits-m-jul-2014), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: plots.m, plotses.m, tlabel.m v2.6.1 (Sep 2009), COLORMAP and COLORBAR utilities (Jul 2014), addaxes.m v1.1 (Sep 2009)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
xunits/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Just added some TAGs. |
||
1.0.0.0 |