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


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

Re: Appending data to existing plot

From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Appending data to existing plot
Date 2011-06-03 20:22 +0200
Message-ID <94sn2pFc5tU1@mid.dfncis.de> (permalink)
References <315104e5-99fb-4cc5-8670-5be14fcb4d49@q12g2000prb.googlegroups.com>

Show all headers | View raw


On 02.06.2011 20:22, Michalk wrote:

> I have used Gnuplot off and on for maybe 15 years now.  It seems
> that by now, it would be possible to add a single datapoint to an
> existing file.

Erm... why?  In open source software projects, just like in any other 
software, nothing happens by just waiting for time to pass.

> I checked the patches, and didn't see anything there.  Is there any
> interest in this?

Apparently little to none.  gnuplot is a program for plots, not for 
real-time display of constantly changing data.

It can be used to that end, but you'll have to apply some moderation to 
your expectations.

> What I do now, using a Perl interface is to maintain the queue of data
> in Perl and plot a new graph for each new datapoint.

That can easily be excessive.  Reduce that to at most one update a 
second and you should be fine.

And move the main data storage from inside the perl engine to an actual 
file.  Writing all the data again for every update doesn't serve any 
useful purpose for this situation.

> Normally this is not a problem, but the target system is an embedded,
> fanless system running at 800MHz, and doing other tasks as well.

800 MHz is plenty fast unless you use some of the more computation 
intense features like dgrid3d, 'smooth' or hidden3d.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

Appending data to existing plot Michalk <michalk@awpi.com> - 2011-06-02 11:22 -0700
  Re: Appending data to existing plot sfeam <sfeam@users.sourceforge.net> - 2011-06-02 16:47 -0700
  Re: Appending data to existing plot Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-06-03 20:22 +0200

csiph-web