[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/4/54
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/4/55
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/4/56
[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/4/57
[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/4/58
load seamount scatter(x,y,5,z)
http://www.codebf.com/read/4/59
http://www.codebf.com/read/4/60
ezplot('cos(x)',[0,pi])
http://www.codebf.com/read/4/61
fill3([0,1,2,3],[0,3,2,1],[0,2,3,1],[1,2,3,4]) colormap(hot);
http://www.codebf.com/read/4/62
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/4/63
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机