]> Creatis software - CreaPhase.git/blob - octave_packages/secs2d-0.0.8/DDGOX/DDGOXplotresults.m
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / secs2d-0.0.8 / DDGOX / DDGOXplotresults.m
1 function DDGOXplotresults(mesh,Simesh,n,p,V,Fn,Fp,gi,nrm,step);
2
3 %
4 % DDGOXplotresults(mesh,Simesh,n,p,V,Fn,Fp,gi,nrm,step);
5 %
6 %
7
8 % This file is part of 
9 %
10 %            SECS2D - A 2-D Drift--Diffusion Semiconductor Device Simulator
11 %         -------------------------------------------------------------------
12 %            Copyright (C) 2004-2006  Carlo de Falco
13 %
14 %
15 %
16 %  SECS2D is free software; you can redistribute it and/or modify
17 %  it under the terms of the GNU General Public License as published by
18 %  the Free Software Foundation; either version 2 of the License, or
19 %  (at your option) any later version.
20 %
21 %  SECS2D is distributed in the hope that it will be useful,
22 %  but WITHOUT ANY WARRANTY; without even the implied warranty of
23 %  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 %  GNU General Public License for more details.
25 %
26 %  You should have received a copy of the GNU General Public License
27 %  along with SECS2D; If not, see <http://www.gnu.org/licenses/>.
28
29
30
31
32 f1=figure(1);
33 subplot(2,3,1)
34 Updesurf(Simesh,log10(n),'colormap','jet','mesh','off','contour','on');
35 title('Electron Density (log)'); grid; colorbar; view(2)
36
37 subplot(2,3,2)
38 Updesurf(Simesh,log10(p),'colormap','jet','mesh','off');
39 title('Hole Density (log)'); grid; colorbar; view(2)
40
41 subplot(2,3,4)
42 Updesurf(Simesh,Fn,'colormap','jet','mesh','off');
43 title('Electron QFL'); grid; colorbar; view(2)
44
45 subplot(2,3,5)
46 Updesurf(Simesh,Fp,'colormap','jet','mesh','off');
47 title('Hole QFL'); grid; colorbar; view(2)
48
49 subplot(1,3,3)
50 Updesurf(mesh,V,'colormap','jet','mesh','off');
51 title('Electric Potential'); grid; colorbar; view(2)
52 pause(.1)
53
54