potplot.m

来自「用来实现三维阻抗及光学断层成像重建的matlab程序」· M 代码 · 共 45 行

M
45
字号
function potplot(vtx,srf,V);
%function potplot(vtx,srf,V)
%
%Animating the forward solution in 3D
%
%
%
%vtx = The vertices matrix
%srf = The boundary surfaces
%V   = The forward solution
figure;

for i=1:size(V,2);
   
Vp = V(:,i); 
   
trisurf(srf,vtx(:,1),vtx(:,2),vtx(:,3),Vp(1:size(vtx,1)));
shading interp;
daspect([1 1 1]);

view(3);
camzoom(1);
grid off
axis tight;
camlight left 
lighting flat;

pause(0.2);

end


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is part of the EIDORS suite.
% Copyright (c) N. Polydorides 2001
% Copying permitted under terms of GNU GPL
% See enclosed file gpl.html for details.
% EIDORS 3D version 1.0
% MATLAB version 5.3 R11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?