Batch mode plotting from netlist/[.cir] file

  • sharma

    sharma - 2013-03-13

    Hi, I am trying to run simple circuits through text based netlists. In these I have .plot statements. In ngspice coomand window, I write
    source mynetlist.cir
    run myout.raw

    However I am unable to see the plots of waveforms I requests in .PLOT satements. Can someone help me see plots through batch processing?


  • Holger Vogt

    Holger Vogt - 2013-03-13

    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 ...


  • sharma

    sharma - 2013-03-14

    Thanks for the explanation.


Log in to post a comment.