LinkTopAxisData

Adds a linked second x axis to a plot

이 제출물을 팔로우합니다

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.

인용 양식

Tim Richards (2026). LinkTopAxisData (https://kr.mathworks.com/matlabcentral/fileexchange/12131-linktopaxisdata), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: Add top X-axis with different scale

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0

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

I have also added a screenshot.