shading 源代码

渐晕效应是指在光学系统中,当远离光轴的物点成像时,由于光阑的存在,使能够到达像面上的光束逐渐变得窄小起来,结果使离轴的像点逐渐变暗,这个过程叫做渐晕效应。为了使像平面内视场边界清晰,可以把视场光阑放在物平面、物的中间实像位置或像平面上。[1]

收录资源 500 份 全站深度检索
源码文件

%exm0782_1.m clf reset,shg ezsurf('x*y','circ'); shading flat; for k=1:24; view([-18+k*15,28]) drawnow end

源码文件

%exm0753_1.m clf;shg;clear [X,Y,Z]=sphere(40); colormap(jet) % figure(1);surf(X,Y,Z);shading interp % l…

源码文件

%exm07431_2.m shg; R0=1; %以地球半径为一个单位 a=12*R0;b=9*R0; T0=2*pi; %T0是轨道周期 T=5*T0;dt=pi/100;t=[0:dt:T]';…

源码文件

%exm07422_1.m %以下指令用切面上的色彩表现射流速度 figure(1),clf [X,Y,Z,V]=flow; %取4个 的射流数据矩阵,V是射流速度。 x1=min(min(min(X)));x2=max(max(max(X)));…

源码文件

%exm7332_1.m clf,shg t=linspace(0,2*pi,100); r=1-exp(-t/2).*cos(4*t); [X,Y,Z]=cylinder(r,60); ii=find(X

源码文件

%exm07421_1.m clf,shg x=3*pi*(-1:1/15:1);y=x;[X,Y]=meshgrid(x,y); R=sqrt(X.^2+Y.^2)+eps;Z=sin(R)./R; [dzdx,dzdy]=gradient(Z); …

源码文件

clear clc [X0,Y0,Z0]=sphere(30); %产生单位球面的三维坐标 X=2*X0;Y=2*Y0;Z=2*Z0; %产生半径为2的球面的三维坐标 clf subplot(1,2,1); surf(X0…

源码文件

clear clc [X0,Y0,Z0]=sphere(30); %产生单位球面的三维坐标 X=2*X0;Y=2*Y0;Z=2*Z0; %产生半径为2的球面的三维坐标 clf subplot(1,2,1); surf(X0…

源码文件

h0=figure('toolbar','none',... 'position',[198 56 450 468],... 'name','实例56'); h1=axes('parent',h0,... 'position',…

源码文件

function shili27 h0=figure('toolbar','none',... 'position',[200 150 450 350],... 'name','实例27'); subplot(2,2,1) spher…