1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-24 22:58:05 +02:00
wernermisc/m1rc3/norruption/3/plot

19 lines
425 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:80]
set y2tics 0, 5, 50
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