第1个回答 2013-03-09
t=0:0.05:2*pi;
y1=sin(t);
y2=cos(t);
[ax,h1,h2]=plotyy(t,y1,t,y2);
set(h1,'marker','*')
set(h2,'marker','s')本回答被网友采纳
第2个回答 2013-03-09
plot(x,y1,'b--*',x,y2,'M--.')看看行不
追问我刚试了下,还是不行。在单Y轴的时候plot(x,y,'.')就可以画散点,双Y轴plotyy好像搞不定
追答就plot不要yy