schemen
2008-09-03, 20:58
我的matlab计算源程序里面有个画图的命令,就是下面的命令,因为有12个循环所以画出来的是一个连续的图像,两种不同的颜色,我把这个程序镶在gui程序里面,我现在想在gui里面的axes里面也显示这样的图像,随着12个循环一步一步的画图,当然了要有两种不同颜色,不知道怎么实现,希望高人指点迷经。不胜感激。
figure(101);
hold on;
plot(ts_result,xs_result(:,3),'k:');
figure(101);
hold on;
plot(ts_real,xs_real(:,3),'r');
问题已解决,用下面的语句就可以了
axes(handles.axes1);
plot(x,y)
figure(101);
hold on;
plot(ts_result,xs_result(:,3),'k:');
figure(101);
hold on;
plot(ts_real,xs_real(:,3),'r');
问题已解决,用下面的语句就可以了
axes(handles.axes1);
plot(x,y)