add README.
[ob-spice.git] / data / images / spice-example.plt
bloba75aba33b0338b6d1b8e55fed0c05ddd3212aee3
1 set terminal X11
2 set title "*virtual ground test: opamp gain = 1000"
3 set xlabel "s"
4 set ylabel "V"
5 set grid
6 unset logscale x 
7 set xrange [0.000000e+00:5.000000e-02]
8 unset logscale y 
9 set yrange [-1.099830e-01:1.099830e-01]
10 #set xtics 1
11 #set x2tics 1
12 #set ytics 1
13 #set y2tics 1
14 set format y "%g"
15 set format x "%g"
16 plot 'data/images/spice-example.data' using 1:2 with lines lw 1 title "v(in)" ,\
17 'data/images/spice-example.data' using 3:4 with lines lw 1 title "v(out)" ,\
18 'data/images/spice-example.data' using 5:6 with lines lw 1 title "v(inn)" 
19 set terminal push
20 set terminal png
21 set out 'data/images/spice-example.png'
22 replot
23 set term pop
24 replot