x12345
Industrial
- Dec 15, 2004
- 3
How can I plot a plotyy in a gui? The code...
axes(handles.TSchart);
[TSrp]=plotyy(1:rrows,r,1:rrows,p);
set(get(TSrp(1),'Ylabel'),'String','Coefficient r')
set(get(TSrp(2),'Ylabel'),'String','p-Value')
title(TSheader(1,i));
xlabel('lag (return)');
grid on
...gives an error:
??? There is no 'NextPlot' property in the 'uipanel' class.
Error in ==> plotyy at 58
set(fig,'NextPlot','add')
What am I doing wrong?
Thanks for your help, Stefan
axes(handles.TSchart);
[TSrp]=plotyy(1:rrows,r,1:rrows,p);
set(get(TSrp(1),'Ylabel'),'String','Coefficient r')
set(get(TSrp(2),'Ylabel'),'String','p-Value')
title(TSheader(1,i));
xlabel('lag (return)');
grid on
...gives an error:
??? There is no 'NextPlot' property in the 'uipanel' class.
Error in ==> plotyy at 58
set(fig,'NextPlot','add')
What am I doing wrong?
Thanks for your help, Stefan