InversePDE / data /eit-data /matlab-code /heartNlungs_plot.m
introvoyz041's picture
Migrated from GitHub
bc2cdff verified
Raw
History Blame Contribute Delete
445 Bytes
% Plot the conductivity
%
% Samuli Siltanen May 2012
% Set font size
fsize = 14;
% Create evaluation points
t = linspace(-1,1,256);
[x1,x2] = meshgrid(t);
z = x1 + i*x2;
% Evaluate potential
c = heartNlungs(z);
c(abs(z)>1) = NaN;
% Two-dimensional plot
figure(2)
clf
imagesc(c,[0.4,2])
colormap jet
map = colormap;
colormap([[1 1 1];map]);
axis equal
axis off
colorbar
%print -dpng heartNlungs2D.png