Add another y axis on the plot

12 views (last 30 days)
Linden
Linden on 22 May 2014
Edited: Yao Li on 22 May 2014
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

Answers (1)

Yao Li
Yao Li on 22 May 2014
Why not try plotyy(x,y,x,y)? Actually, you don't need two different series. They can be identical.
  2 Comments
Yao Li
Yao Li on 22 May 2014
Edited: Yao Li on 22 May 2014
may be helpful
And there is an app named as addaxis in File Exchange

Sign in to comment.

Categories

Find more on Two y-axis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by