figure;
t=0:0.001:10;
x1 = cos(t)-sin(t).*cos(80.*t);
y1 =2.*sin(t)-sin(80.*t);%得到编辑框中的字符串
axis([min(x1)max(x1)min(y1)max(y1)]);%固定坐标轴的大小
line = animatedline('Color',[0,0.45,0.74],'LineWidth',2);%grid on
for i=1:length(t)
grid off
addpoints(line,x1(i),y1(i));%axis off
%pause(0.001);
drawnow;
end