Add Wavenumber axis
ha2=addinvcmaxis(DecPlaces,Unit,ha)
Adds a 'Wavenumber (cm^{-1})' axis on top of current graph where the the
x-axis is in nm or µm. The xlabel should be specified with unit before
running addinvcmaxis(), otherwise it can be specified as
addinvcmaxis(DecPlaces,Unit).
Use:
addinvcmaxis() if unit of wavelength is specified in xlabel or,
addinvcmaxis(DecPlaces) where DecPlaces = decimal places, 0=Default will display waveno. without decimals, or
addinvcmaxis(DecPlaces,Unit) where 'Unit' is the unit in (m), i.e. if the graph is in nm Unit=1e-9, or
addinvcmaxis(DecPlaces,Unit,ha) if you want to add the axis to a different axis than the current, i.e., gca.
cc micke.malmstrom@gmail.com
Version 2015-09-24
Zitieren als
Micke Malmström (2024). Add Wavenumber axis (https://www.mathworks.com/matlabcentral/fileexchange/53183-add-wavenumber-axis), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > 2-D and 3-D Plots > Polar Plots >
Tags
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.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |