|
Hi
I am trying to plot two different kind of time series: I have a buttondownfunction and 3 subplots(sub1, sub2 and sub3). When I click on sub1, I want to plot a line in sub3 with its y axis on the left, and when I click on sub2, I want to plot a second line (on top of the first one) on sub3, but with its y axis on the right.
I don't think I can use plotyy because in that function you have to specify x1,x2,y1,y2, and in fact, when I click for the first tine on sub1 (for example), I don't have x2 and y2...
So is there a way to say to specify in the line(x,y,..) a kind of axis handle?
Thanks for your help!!
|