Berni Joss wrote: > On Wed, Sep 21, 2005 at 12:59:27AM -0400, H.S. wrote: > >>The other method of course is to put these plotting commands in a >>separate file, called foo.cmd, and copy them into ngspice whenever I >>want to repeat a simulation. > > > I have never used ngspice - and failed finding a reference manual in a > brief amount of time - but assume it provides an INCLUDE or similar > command. If this is so, you may consider having the simulation commands > in a file which includes the gschem generated netlist.
Yup, that is one of the ways to do it. Currently I have a makefile which, among other things, makes a netlist of a gschem schematic if anything in it has changed. I was playing with the idea of using perl to insert statements in that netlist output to do the analysis and plotting. I will try your method. Thanks a ton. regads, ->HS
