Add another y axis on the plot

조회 수: 7 (최근 30일)
Linden
Linden 2014년 5월 22일
편집: Yao Li 2014년 5월 22일
Hi Can anyone tell me how to add another y axis (not x) on the RHS of my graph? I want it has the same settings as the LHS one. I don't want to use plotyy as it requires have two series but I only have one. Thanks

답변 (1개)

Yao Li
Yao Li 2014년 5월 22일
Why not try plotyy(x,y,x,y)? Actually, you don't need two different series. They can be identical.
  댓글 수: 2
Linden
Linden 2014년 5월 22일
I tried actually but didn't work. My graph is a bit complicated. It has bar charts behind the line chart as well.
Yao Li
Yao Li 2014년 5월 22일
편집: Yao Li 2014년 5월 22일
may be helpful
And there is an app named as addaxis in File Exchange

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

카테고리

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