diff --git a/bin/feedgnuplot b/bin/feedgnuplot index daf2d6a..e0c969a 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -961,6 +961,47 @@ Simple plotting of piped data: $ seq 5 | awk '{print 2*$1, $1*$1}' | feedgnuplot --lines --points --legend 0 "data 0" --title "Test plot" --y2 1 + --terminal 'dumb 80,40' --exit + + Test plot + + 10 ++------+--------+-------+-------+-------+--------+-------+------*A 25 + + + + + + + + + **#+ + | : : : : : : data 0+**A*** | + | : : : : : : :** # | + 9 ++.......................................................**.##....| + | : : : : : : ** :# | + | : : : : : : ** # | + | : : : : : :** ##: ++ 20 + 8 ++................................................A....#..........| + | : : : : : **: # : | + | : : : : : ** : ## : | + | : : : : : ** :# : | + | : : : : :** B : | + 7 ++......................................**......##................| + | : : : : ** : ## : : ++ 15 + | : : : : ** : # : : | + | : : : :** : ## : : | + 6 ++..............................*A.......##.......................| + | : : : ** : ##: : : | + | : : : ** : # : : : | + | : : :** : ## : : : ++ 10 + 5 ++......................**........##..............................| + | : : ** : #B : : : | + | : : ** : ## : : : : | + | : :** : ## : : : : | + 4 ++...............A.......###......................................| + | : **: ##: : : : : | + | : ** : ## : : : : : ++ 5 + | : ** : ## : : : : : | + | :** ##B# : : : : : | + 3 ++.....**..####...................................................| + | **#### : : : : : : | + | **## : : : : : : : | + B** + + + + + + + + + 2 A+------+--------+-------+-------+-------+--------+-------+------++ 0 + 1 1.5 2 2.5 3 3.5 4 4.5 5 + Simple real-time plotting example: plot how much data is received on the wlan0 network interface in bytes/second (uses bash, awk and Linux):