Two X axis for a same Y axis
Show older comments
Hi,
I need to plot a curve and to use 2 X axis to represent this curve.
So in summary I have for exemple :
One vector y with a given length L One vector x1 with the same length L One vector x2 with the same length L
I would like to plot y as a function of x1 and to have in the same figure another axis on the top of the figure which represents the x2 values.
I really need to do it but I can't. I'm trying to do it for several days now but without any success. Anyone could help me please?
Thank you
Accepted Answer
More Answers (2)
Paulo Silva
on 20 Apr 2011
0 votes
akbar
on 21 Apr 2011
0 votes
Categories
Find more on Graphics 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!