|
Hi steven, thanks for your reply. I have found that page named "Using Multiple X- and Y-Axes", and I am trying to do sthg like the example described there.
=> I have two axes:
h.cp_aux=axes('Parent',h.panel_contourplots);
h.cp_aux2 = axes('parent',h.panel_contourplots,...
'YAxisLocation','right','Color','none','xtick',[],'YColor','k');
I have thought a little problem, how do I specify the axe wher I want to plot my line?
I have tried with
set(gcf,'CurrentAxes',h.cp_aux);
line(tiempo,vector,'Color','r');
and also with
line(tiempo,vector,'Color','r','parent',h.cp_aux); as in the example,
but nothing to do, matlab always draw the line in the h.cp_aux2, even if I am telling him "plot it in h.cp_aux!!!!
What am I doing wrong?
Thanks again for your answer!
|