1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-19 01:43:07 +02:00
wernermisc/m1rc3/norruption/3/plot
2011-10-26 21:53:15 -03:00

19 lines
416 B
Bash
Executable File

#!/bin/sh
gnuplot -persist <<EOF
set term png lw 2 large 20
set output "out.png"
set title "Dual diode drop (BAV99WT)"
set xlabel "Vin (V)"
set ylabel "Vout (V)"
set y2label "Iin (mA)"
set key left box
set xrange [0:5.5]
set yrange [0:4]
set y2range [0:40]
set y2tics
set grid
plot "ddd.dat" using 1:3 with lines title "Vout", \
2.63 title "Vdet(typ)", \
"ddd.dat" using 1:2 axes x1y2 with lines title "Iin"
EOF