how add multiple lines on 2 overlapped plots and brush all
Show older comments
hello, my problem is: I have for examples 4 cell arrays: X1 Y1 X2 Y2. In X1 and Y1 there are the vectors of data (of different lengths) to plot on the left axes. In X2 and Y2 vectors of data to plot in right axes. I have no problem to make it, and link axes together. The problem is that I can't brush all the data that I want. In particular I overlap the right axes to the left one and so I can brush data from the right axes, but not from left axes that are in the bottom. Any suggestion? p.s. I also tryed plotyy, but it seems to work fine with X_vectors of the same length, but not for different ones. I also tryed to make lines and add to the plots, but it seems that i can't brush a line. I'm searching in a lot of documentation, but I can't solve my problem.
thank you marco
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!