loglabels

Version 1.0.2.0 (2,58 KB) von M. A.
Convert the labels of a (logarithmic) axis to unit prefix notation: '1e-10' --> '100 ps'
31 Downloads
Aktualisiert 21 Feb 2018

Convert the labels of a (logarithmic) axis to unit prefix notation: '1e-10' --> '100 ps'
All prefixes defined by the International Bureau of Weights and Measures are supported, except for deca, hecto, centi and deci; that leaves the 16 prefixes between 1e-24 (yocto) and 1e+24 (yotta).
Usage: loglabels(ax,unit,[whichaxis='x'])
ax: Handle of an axis
unit: String representation of the unit (e.g. 's' for seconds)
whichaxis: String representation of the axis to be changed ('x', 'y' or 'z'). This parameter is optional. If omitted, 'x' is used.

Example: loglabels(gca,'m','x');
Result: The x-axis label of the current axis is changed from '1e-9' to '1 nm'

See also https://github.com/m-ad/loglabels

Zitieren als

M. A. (2024). loglabels (https://github.com/m-ad/loglabels), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Axis Labels finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.2.0

Update description text

1.0.1.0

Changed preview image on FileExchange

1.0.0.0

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.