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


Groups > comp.graphics.apps.gnuplot > #3753 > unrolled thread

How can I animate a point?

Started byrafitafromista@gmail.com
First post2017-09-16 10:40 -0700
Last post2017-09-20 11:50 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  How can I animate a point? rafitafromista@gmail.com - 2017-09-16 10:40 -0700
    Re: How can I animate a point? Karl Ratzsch <mail.kfr@gmx.net> - 2017-09-17 14:42 +0200
      Re: How can I animate a point? Rafael <rafitafromista@gmail.com> - 2017-09-20 11:50 -0700

#3753 — How can I animate a point?

Fromrafitafromista@gmail.com
Date2017-09-16 10:40 -0700
SubjectHow can I animate a point?
Message-ID<db547cc4-d67e-4a54-bf93-cef130044a78@googlegroups.com>
I have a file "data.txt" with 3 columns, the first columns represent the x value of the point, the sencond the y value, and the third the time in seconds.

I heard that GNUplot can aminate the point, but what I have to write?

[toc] | [next] | [standalone]


#3754

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2017-09-17 14:42 +0200
Message-ID<oplqjf$qln$1@solani.org>
In reply to#3753
Am 16.09.2017 um 19:40 schrieb rafitafromista@gmail.com:
> I have a file "data.txt" with 3 columns, the first columns represent the x value of the point, the sencond the y value, and the third the time in seconds.
> 
> I heard that GNUplot can aminate the point, but what I have to write?
> 

No really.

Gnuplot can output an animated gif:

----------
stat "data.txt"

set term push
set term gif animate
set out "animation.gif"

do for [i=1:STATS_records] {plot "data.txt" ev ::i:i us 1:2}

set out
set term pop
------------

but taking the time data into account is not directly possible.

[toc] | [prev] | [next] | [standalone]


#3756

FromRafael <rafitafromista@gmail.com>
Date2017-09-20 11:50 -0700
Message-ID<2f01e517-7bdf-4928-bd18-329692d007d3@googlegroups.com>
In reply to#3754
El domingo, 17 de septiembre de 2017, 14:42:25 (UTC+2), Karl Ratzsch  escribió:
> Am 16.09.2017 um 19:40 schrieb rafitafromista@gmail.com:
> > I have a file "data.txt" with 3 columns, the first columns represent the x value of the point, the sencond the y value, and the third the time in seconds.
> > 
> > I heard that GNUplot can aminate the point, but what I have to write?
> > 
> 
> No really.
> 
> Gnuplot can output an animated gif:
> 
> ----------
> stat "data.txt"
> 
> set term push
> set term gif animate
> set out "animation.gif"
> 
> do for [i=1:STATS_records] {plot "data.txt" ev ::i:i us 1:2}
> 
> set out
> set term pop
> ------------
> 
> but taking the time data into account is not directly possible.

Thanks for answering

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web