]> Creatis software - CreaPhase.git/blob - octave_packages/secs1d-0.0.8/DDG/DDGplotresults.m
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / secs1d-0.0.8 / DDG / DDGplotresults.m
1 function DDGplotresults(x,n,p,V,Fn,Fp);
2
3 % DDGplotresults(x,n,p,V,Fn,Fp);
4
5 ## This file is part of 
6 ##
7 ## SECS1D - A 1-D Drift--Diffusion Semiconductor Device Simulator
8 ## -------------------------------------------------------------------
9 ## Copyright (C) 2004-2007  Carlo de Falco
10 ##
11 ##
12 ##
13 ##  SECS1D is free software; you can redistribute it and/or modify
14 ##  it under the terms of the GNU General Public License as published by
15 ##  the Free Software Foundation; either version 2 of the License, or
16 ##  (at your option) any later version.
17 ##
18 ##  SECS1D is distributed in the hope that it will be useful,
19 ##  but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 ##  GNU General Public License for more details.
22 ##
23 ##  You should have received a copy of the GNU General Public License
24 ##  along with SECS1D; If not, see <http://www.gnu.org/licenses/>.
25   
26 subplot(2,3,1)
27 title('Electron Density')
28 semilogy(x,n)
29
30
31 subplot(2,3,2)
32 title('Hole Density')
33 semilogy(x,p)
34
35
36 subplot(2,3,4)
37 title('Electron QFL')
38 plot(x,Fn)
39
40
41 subplot(2,3,5)
42 title('Hole QFL')
43 plot(x,Fp)
44
45
46 subplot(2,3,6)
47 title('Electric Potential')
48 plot(x,V)
49 pause(.1)
50
51 % Last Revision:
52 % $Author: adb014 $
53 % $Date: 2008-02-04 16:26:27 +0100 (man, 04 feb 2008) $