필터 지우기
필터 지우기

How to invert/flip only Y1 axis in a 2-line plot (Y1 and Y2 upon X)?

조회 수: 6 (최근 30일)
Keegan Carvalho
Keegan Carvalho 2018년 11월 24일
편집: madhan ravi 2018년 11월 24일
I am trying to a plot time series of two variables, ssh and iso (in csv file attached (ssh.csv)).
However I wanted to invert/flip the iso axis (Y2 axis) while keeping the ssh axis (Y1 axis) the same. I attached an example.jpg image to show exactly how I want the plot. I have previously used "plot" and "yyaxis left" and "yyaxis right" commands. But this graph gives increasing values on both Y axes.
Would be grateful to receive some help in this.

채택된 답변

madhan ravi
madhan ravi 2018년 11월 24일
편집: madhan ravi 2018년 11월 24일

추가 답변 (0개)

카테고리

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