필터 지우기
필터 지우기

Use top axis in a plot

조회 수: 8 (최근 30일)
giacomo labbri
giacomo labbri 2020년 8월 17일
댓글: giacomo labbri 2020년 8월 17일
Hi,
Is it possible to plot a variable against the top axis while plotting another variable against the bottom (usual) axis. For left and right I would use the yyaxis right and yyaxis left option. I am looking to do the same but with the x (bottom and top axis).
Thanks in advance,

답변 (1개)

madhan ravi
madhan ravi 2020년 8월 17일
  댓글 수: 1
giacomo labbri
giacomo labbri 2020년 8월 17일
Thanks but these seems just to have the ticks and the tick labels. But i would like to plot different variables against top and bottom axis (so each axis does not have the same value on the think labels). For example you put the temperature scale on the bottom axis and the realtive humidity scale on the top axis.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by