필터 지우기
필터 지우기

Three y axis with one x axis

조회 수: 5 (최근 30일)
Kashif Naukhez
Kashif Naukhez 2024년 5월 1일
댓글: Torsten 2024년 5월 1일
I want to have a plot with two y axis on the left and one on the right with a common x axis for all. How can I do that?
  댓글 수: 2
Liam
Liam 2024년 5월 1일
편집: Torsten 2024년 5월 1일
Kashif Naukhez
Kashif Naukhez 2024년 5월 1일
No this is just the overlap of one plot over the other and is not serving my purpose.

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

답변 (1개)

Torsten
Torsten 2024년 5월 1일
  댓글 수: 6
Kashif Naukhez
Kashif Naukhez 2024년 5월 1일
No @Torsten I did not do anything wrong. Fro the left most y axis, the y axis ticks are simply placed which does not look like an axis. It should have a vertical line representing it as an axis. So when I clicked on that axis, I got the y axis lik look (figure attached above) but the x axis is varying.
Torsten
Torsten 2024년 5월 1일
I don't know how you get an extra solid line for the left-most y-axis. For me, one solid line as produced by the code would suffice - only the colors and the different y-scales would matter for me.

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

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by