Plotting graphs questions ?

7 views (last 30 days)
Jason
Jason on 13 Aug 2011
Hi, I need help here. Basically, I have two plots that I would like to compare, but the second plot needs to be on the secondary axis (right hand side of the figure). Refer to this link: Plot
So, is there some sort of mirroring function for the green plot?

Accepted Answer

Walter Roberson
Walter Roberson on 13 Aug 2011
I am not sure what you mean by "mirroring", but perhaps setting the XDir or YDir property of the second axes to 'reverse' would be what you are looking for.
  1 Comment
Jason
Jason on 13 Aug 2011
Exactly. Anyway, I used flipud on my array and it does the same thing. Thank you!

Sign in to comment.

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!