Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2022
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Data manipulation (gnuplot) |
| Date | 2013-09-07 20:13 +0200 |
| Message-ID | <b918meF2pu9U1@mid.dfncis.de> (permalink) |
| References | <728e946b-3ae7-42e1-8a8a-753695fbdb97@googlegroups.com> |
On 07.09.2013 18:00, Dan Merschi wrote: > As you can see the master pull the devices every 2 minutes at 2 seconds interval. > Right now I use awk collect only the records for the last 24 hours , split the log file into sensor file and plot the graph for each sensor as: > > plot "284743A60300000D.log" using 2:3 title "Out" with lines lt 1 lw 1 lc rgb 'black'\ > ,"28D942A603000062.log" using 2:3 title "In" with lines lt 1 lw 1 lc rgb 'blue'\ > ,"28F357A6030000B5.log" using 2:3 title "Tank" with lines lt 1 lw 1 lc rgb 'red' > > > The question is can I plot directly from gnuplot wit%Shout using external applications. That's going to prove trick, particularly the "reducse to the last 24 hours worth of data" job. Once you've solved that, you can probably do something like set ydata time set timefmt y "%s" splot "temp_last_24h.log" u 1:2:3:xticlabels(1) with lines for a quick overview. Individual sensors' data should be available via plot "temp_last_24h.log" u (stringcolumn(1) eq '28D942A603000062' ? $2 : NaN):3 w l
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Data manipulation (gnuplot) Dan Merschi <danmero@gmail.com> - 2013-09-07 09:00 -0700
Re: Data manipulation (gnuplot) Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2013-09-07 20:13 +0200
Re: Data manipulation (gnuplot) Dan Merschi <danmero@gmail.com> - 2013-09-07 17:17 -0700
csiph-web