Hi, i'm trying to plot the transistor's characteristic curves but i can't. I can only plot one curve (for a specific base current). I would like to plot in a unique graph for several base currents. This is my netlist (with a current source in the base of the transistor and a voltage source of 0 V used to measure the current in the collector)
V1 1 0 DC Q1 3 2 0 Q2N2222 .MODEL Q2N2222 NPN (is=19f bf=150 vaf=100 ikf=0.18 ise=50p ne=2.5 br=7.5 + var=6.4 ikr=12m isc=8.7p nc=1.2 rb=50 re=0.4 rc=0.3 cje=26p tf=0.5n + cjc=11p tr=7n xtb=1.5 kf=0.032f af=1) Vammeter 1 3 DC 0V I1 0 2 DC 20u .control dc V1 0 2 0.05 plot i(vammeter) .endc .end -- This plot the graphic for 1 curve but when i try to plot several curves by changing i can't. I changed the line with the dc simulation in something like this: dc V1 0 2 i1 20u 40u 10u it takes long time calculating the simulation (i killed the ngspice process after 5 minutes). What i want is to get the graphic for 20u, 30u and 40u of the base current As always: Thanks in advance! -- View this message in context: http://www.nabble.com/ngspice%3A-how-to-plot-the-transistor%27s-characteristic-curves-tp23026508p23026508.html Sent from the gEDA - User mailing list archive at Nabble.com. _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user