Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
projects:carmon [2019/09/06 07:56] admin [Data processor] |
projects:carmon [2019/09/06 07:58] (current) admin [Data processor] |
||
---|---|---|---|
Line 16: | Line 16: | ||
<code> | <code> | ||
$ grep DPFDIST * | cut -d ',' -f 4 | | $ grep DPFDIST * | cut -d ',' -f 4 | | ||
- | gawk '{aa = strtonum("0x" $0); if ((aa < 200) && (aa > 5)) print aa; if ((aa > 180) && (aa < 300)) {print aa / 2; print aa / 2}}' > /tmp/dpfdist | + | gawk '{aa = strtonum("0x" $0); if ((aa < 180) && (aa > 5)) print aa; if ((aa >= 180) && (aa < 300)) {print aa / 2; print aa / 2}}' > /tmp/dpfdist |
$ echo "set terminal x11; set grid; plot '/tmp/dpfdist' with lines" | gnuplot -p | $ echo "set terminal x11; set grid; plot '/tmp/dpfdist' with lines" | gnuplot -p | ||
</code> | </code> |