摘要:
1.普通等高线 >>[x,y]=meshgrid(-5:0.1:5,-3:0.1:3); >>z=x.^2+y.^2; >>contour(x,y,z) 给普通等高线加标签 >>[C,h]=contour(x,y,z); >>set(h,'ShowText','on','TextStep',get( 阅读全文
摘要:
一、直角坐标系中的连续函数 1.简单绘图 >>x=[0:0.1:5]; >>y=sin(x); >>plot(x,y),xlabel('x')/*横坐标*/,ylabel('y')/**纵坐标/; 2.更精确的图 fplot('exp(-1.2*x).*sin(x)',[0,4])/*在(0,4)上 阅读全文