Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2022

Re: Data manipulation (gnuplot)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Data manipulation (gnuplot)
Date Sat, 07 Sep 2013 20:13:37 +0200
Lines 26
Message-ID <b918meF2pu9U1@mid.dfncis.de> (permalink)
References <728e946b-3ae7-42e1-8a8a-753695fbdb97@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.dfncis.de 8bK0bKrQn1zX2icv+vqhNQapdWyT1NbB0rnpdsc5+n/+qextn2VPALaXkp
Cancel-Lock sha1:O9H4vk+O6noqu2nh8qITJzWNf+4=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
In-Reply-To <728e946b-3ae7-42e1-8a8a-753695fbdb97@googlegroups.com>
Xref csiph.com comp.graphics.apps.gnuplot:2022

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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