x=linspace(0,2*pi,30); y=sin(x); z=cos(x); plot(x,y,'r',x,z,'go')
http://www.codebf.com/read/7131/106998
x=randn(50,3);y=x*[-1 2 1;2 0 1;1 -2 3]; plotmatrix(y,'*r')
http://www.codebf.com/read/7131/107000
[x,y,z]=peaks(30); waterfall(x,y,z) xlabel('x-axis') ylabel('y-axis') zlabel('z-axis') title('函数peaks的waterfall图');
http://www.codebf.com/read/7131/107002
x=linspace(0,2*pi,30); z=cos(x); y=sin(x); plot(x,z,:) hold on plot(x,y) zoom on
http://www.codebf.com/read/7131/107003
x=linspace(0.0001,0.01,1000); y=sin(1./x); plot(x,y) axis([0.005 0.01 -1 1])
http://www.codebf.com/read/7131/107004
[x,y,z]=peaks(30); surf(x,y,z) axis([-3 3 -3 3 -10 10]) %axis off %shading interp %colormap(hot) m=moviein(15); for i=1:15 view(-37.5+24*(i-1),30) m(:,i)=getframe; end movie(m)
http://www.codebf.com/read/7131/107005
[x,y,z]=sphere(16); X=[x(:)*.5 x(:)*.75 x(:)]; Y=[y(:)*.5 y(:)*.75 y(:)]; Z=[z(:)*.5 z(:)*.75 z(:)]; S=repmat([1 .75 .5]*10,prod(size(x)),1); C=repmat([1 2 3],prod(size(x)),1); scatter3(X(:),Y(:
http://www.codebf.com/read/7131/107006
x=-3:0.1:3; y=1:0.1:5; [X,Y]=meshgrid(x,y); Z=(X+Y).^2; surf(X,Y,Z) shading flat rotate3d
http://www.codebf.com/read/7131/107011
x=-6:0.01:6; y=normpdf(x); z=normpdf(x,0,2); plot(x,y,x,z)
http://www.codebf.com/read/7131/107025
x=0:0.1:1; y=[-0.447 1.978 3.28 6.16 7.08 7.34 7.66 9.56 9.48 9.30 11.2]; A=polyfit(x,y,2) z=polyval(A,x); plot(x,y,'k+',x,z,'r')
http://www.codebf.com/read/7131/107045
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机