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).
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.
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
@Stephen Cobeldick: You're right. I omitted those on purpose but didn't mention it in the description. The text is now updated!
nice one. thanks!
"All prefixes defined by the International Bureau of Weights and Measures are supported"
Really? I don't see "da" (for Deca) listed in the Mfile.
Update description text
Changed preview image on FileExchange