IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
Source at commit 850e9fca290d2354e97589ff1d5d684523218085 created 13 years 5 months ago. By Werner Almesberger, More rm -rf to rm -f changes. | |
---|---|
1 | #!/bin/sh |
2 | if [ -z "$1" ]; then |
3 | echo "usage: $0 file" 1>&2 |
4 | exit 1 |
5 | fi |
6 | if [ ! -f "$1" ]; then |
7 | echo "$1: not found" 1>&2 |
8 | exit 1 |
9 | fi |
10 | gnuplot -persist <<EOF |
11 | set xlabel "MHz" |
12 | set ylabel "dB" |
13 | set yrange [-30:-20] |
14 | plot "<sed '\$d' $1" using (\$1):(log(\$3)/log(10)*10) with lines notitle |
15 | EOF |
16 |