I would like to plot the 2DEG concentration of a GaN HEMT in cm^-2 as a function of Vgs(V) in Silvaco. So far I have used the built-in polarization models and obtained the electron concentration in cm^-3 along the y-axis. But I need to obtain this curve as a function of Vgs. One solution is that I solve it for different Vgs as below
solve init
solve vgate=-1
save outf=ganfetex03_0.str
solve init
solve vgate=-2
save outf=ganfetex03_0.str
and save the results and then use the values at a specific point in the 2DEG and plot them in MATLAB vs Vgs. But then will the unit be cm^-2 rather than cm^-3 which is already shown in TonyPlot using a cutline?
The other ambiguity is the position of the point of interest in the 2DEG.
Any suggestions would be appreciated.