www.gusucode.com > 关于海航matlab和lingo的训练题 > label.m
plot(1:0.1:2,sin(1:0.1:2)) xlabel('x---') ylabel('y--sin') title('例子') hold on figure, plot(0:0.1:2,cos(0:0.1:2)) figure(4) subplot(2,2,1),plot(0:0.1:2,cos(0:0.1:2)) subplot(2,2,2),plot(0:0.1:2,sin(0:0.1:2)) subplot(2,2,3),plot(0:0.1:2,tan(0:0.1:2)) subplot(2,2,4),plot(0:0.1:2,cot(0:0.1:2))