1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-26 17:59:41 +02:00
ben-wpan/tools/atrf-path/plot

24 lines
315 B
Plaintext
Raw Normal View History

#!/bin/sh
usage()
{
echo "usage: file ..." 1>&2
exit 1
}
[ "$1" ] || usage
files=
while [ "$1" ]; do
[ "$files" ] && files="$files, "
files="$files\"$1\""
shift
done
gnuplot -persist <<EOF
set yrange [-94:-10]
set ylabel "RX-TX power (dBm)"
set xlabel "Frequency (MHz)"
set style data lines
plot $files
EOF