mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +08:00
added realtime plot example to the README
This commit is contained in:
parent
b45d476fe5
commit
9212df053a
7
README
7
README
@ -64,7 +64,12 @@ windowsize-worth of data (windowsize has the units of the x axis, whether it
|
||||
is a point index or the passed-in domain). If --xlen is omitted or set to 0,
|
||||
all of the available data is plotted, with no moving window. The realtime data
|
||||
is updated at 1 Hz, so the script can handle rapidly-incoming data without
|
||||
spending all of its time replotting.
|
||||
spending all of its time replotting. Example:
|
||||
|
||||
|
||||
seq 5 | awk '{print 2*$1, $1*$1; system("sleep 2"); fflush()}' |
|
||||
feedGnuplot.pl --stream --lines --points --legend "data 0" --title "Test plot" --y2 1
|
||||
|
||||
|
||||
For more information, invoke with --help, or read the source.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user