Add top X-axis with different scale

Add an X-axis on top (additional to the one on bottom) of the figure, with its own ticks labels ...
11,6K Downloads
Aktualisiert 29. Nov 2005

Lizenz anzeigen

Add an X-axis on top (additional to the one on bottom) of the figure, with its own ticks labels and axis label (allow double scale).
Ticks, minor ticks positions and x limits are set to be identical for top and bottom axis. Moreover, they are linked, i.e. a modification of one of them, even after execution of this function, will result in modification of the other one.

Zitieren als

Emmanuel Dinnat (2025). Add top X-axis with different scale (https://www.mathworks.com/matlabcentral/fileexchange/9046-add-top-x-axis-with-different-scale), MATLAB Central File Exchange. Abgerufen.

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

Inspiriert von: addtxaxis

Inspiriert: LinkTopAxisData

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Now evaluates expression in the 'base' workspace (allow for more complex expressions), use case insensitive and simplified property names.