比如画sin曲线:t = 0 : 0.01 : 2 * pi;f = sin(t);subplot(2,2,1);plot(t,h,'-','*','r');其他的都是类似的其他的画图注意改为subplot(2,2,2),subplot(2,2,3),subplot(2,2,4)就行了