Hi, I am trying to run simple circuits through text based netlists. In these I have .plot statements. In ngspice coomand window, I write
However I am unable to see the plots of waveforms I requests in .PLOT satements. Can someone help me see plots through batch processing?
plotting to the screen and batch mode operation are contradictory.
Therefore .plot will only work in true batch mode (ngspice -b -o outputfile inputfile). Then it generates a 'printer plot' to outputfile.
From the command line '.plot' is not effective, you have to use 'plot' You may add the commands to a .control section in your input file, e.g.
plot vec1 vec2 ...
Thanks for the explanation.