[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: sinusoidal blues
On Tuesday 05 July 2005 14:21, David Logan wrote:
> In gschem/gnetlist/ngspice, I'm still trying to get anything to even
> plot, much less set up an actual circuit and analyze it.
>
> Currently, I have the following as a circuit file:
> ---------------------------------------------------------------------
>-------------- * gnetlist -g spice-sdb -o test2.cir test2.sch
> *********************************************************
> * Spice file generated by gnetlist *
> * spice-sdb version 10.9.2004 by SDB -- *
> * provides advanced spice netlisting capability. *
> * Documentation at http://www.brorson.com/gEDA/SPICE/ *
> *********************************************************
> V1 1 0 0 ac sin(24 0 60)
> R1 1 0 1k
> .OP
> .TRAN .1ns 2s
> .PLOT DC I(R1)
> .END
> ---------------------------------------------------------------------
two things:
You are trying to plot DC but you've simulated transient.
You can not plot the current of a part without a voltages source.
.PLOT TRAN I(V1)
should work.
regards
Werner