1 # First read data from IRF540 simulation
2 print "*** Reading files and setting plots"
10 print "*** Fig 2 layout to quad"
13 # Oops, forgot a signal in figure 2 graph 3
16 # Plot filter response
21 # Plot square signal, its FFT and a math signal
28 orange 0 15 -.002 .010
34 print "*** Insert and remove a signal"
38 # Create from reference signal. Note with Signal unit can be defined
41 vs2=Signal(sin(vsqu.ref*1e6), 'V')
47 print "*** List of figures"
49 # Create a copy of vout and freeze it
57 print "*** Now change C value in schematic and rerun gnetlist + gnucap"
61 print "*** Now look at figure 3"
64 owrite gnucap (ow:1) demo/res.dat v1,vsqu