LinkTopAxisData

Adds a linked second x axis to a plot
3,9K Downloads
Aktualisiert 13. Sep 2006

Keine Lizenz

This function will add a second x axis to a plot with the top ticks at arbitrary positions (you are not limited to the bottom tick positions). The new axis is created behind the original axis, and the two axes are linked together. This gives a much more intuitive behaviour, for example clicking in the figure window will select the original axis. It also alows you to drag the plot around, resize the limits and change between a log/linear scale without having to update the dummy axis manually.

Zitieren als

Tim Richards (2025). LinkTopAxisData (https://de.mathworks.com/matlabcentral/fileexchange/12131-linktopaxisdata), 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 Annotations finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Add top X-axis with different scale

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

I have changed the example to define T and E before they are used.

I have also added a screenshot.