标签:com lines new color width style col sel plot
t=[0:0.5:25]; y=exp(-t/3)+sin(1+2*t); h=stem(t,y,‘--‘); set(get(h,‘baseline‘),‘linestyle‘,‘:‘); %把水平轴设置成: 的形状 set(h,‘markerfacecolor‘,‘yellow‘); hold on t2=[0:0.1:25]; y2=exp(-t2/3)+sin(1+2*t2); plot(t2,y2,‘r‘,‘linewidth‘,2); box on; set(gca,‘Ygrid‘,‘on‘)
标签:com lines new color width style col sel plot
原文地址:https://www.cnblogs.com/Airboy1/p/9535205.html