Plotyy problem, curves incomplete
Show older comments
Hello everyone,
I am beginning with Matlab, and I am trying to plot a lot of datas. In fact, I am using a plotyy to plot 5 curves on the first y-axis and one on the second. And I don't know why, but all the curve plotted on the second axes will be incomplete. Meaning that for example all my datas are from t [0;150]. My first axis curves are going until t=150, but on the second graph, they stop around 140.
I looked at the variables, but everthing is fine their (I have all the necessary datas). I also tried to reduce the x axis (from [0;150] to [0,130]) but I have also the same problem, datas on the second y-axis stop around 120. I really don't understand why. Maybe this is just coming from the plotyy but I really do not understand why.
Thanks in advance for your help everyone!
My code is attach to this post
Accepted Answer
More Answers (1)
Jeremy le Gall
on 23 Jul 2015
0 votes
1 Comment
dpb
on 23 Jul 2015
Use 'Comment' for comments rather than 'Answer', but yes, was a typo; thanks. Corrected the Answer.
Categories
Find more on Axis Labels in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!