Change cm-1 to µm

Changes Xaxis of specified or current axes from cm-1 to µm, or the other way around
135 Downloads
Updated 7 Jan 2015

View License

E.g. if you have spectroscopic data in inverse cm (cm-1) but want to display it in µm simply run cm1toum and the data of the current (or specified) axes changes from cm-1 to µm. Since the formula is the same to go from µm to cm-1 the function will change the other way around as well

Cite As

Micke Malmström (2024). Change cm-1 to µm (https://www.mathworks.com/matlabcentral/fileexchange/48783-change-cm-1-to-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Axes Appearance in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Fixed bug of line 25 when xlabel did not contain lower case "cm", "µm" or "um"

1.1.0.0

change picture

1.0.0.0