1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-22 12:06:16 +02:00

tornado/fw/sim/p: pass arguments to "alg"; label graphs; better separate "up"

This commit is contained in:
Werner Almesberger 2012-12-09 17:09:03 -03:00
parent a11670bb7b
commit 30c683effd

View File

@ -1,7 +1,10 @@
#!/bin/sh #!/bin/sh
./alg >_out ./alg "$@" >_out
gnuplot -persist <<EOF gnuplot -persist <<EOF
set style data lines set style data lines
plot "_out" using 1, "_out" using 2, "_out" using 3, "_out" using 4, \ plot "_out" using 1 title "input", \
"_out" using (100*\$5) "_out" using 2 title "denoise", \
"_out" using 3 title "common", \
"_out" using 4 title "diff", \
"_out" using (50*\$5-200) lt 7 title "up"
EOF EOF