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


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

Animated & Lot of data

Started byDominique Payet <dominique.ours@gmail.com>
First post2013-07-01 05:03 -0700
Last post2013-07-01 09:30 -0700
Articles 3 — 2 participants

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


Contents

  Animated & Lot of data Dominique Payet <dominique.ours@gmail.com> - 2013-07-01 05:03 -0700
    Re: Animated & Lot of data Christoph Bersch <usenet@bersch.net> - 2013-07-01 14:15 +0200
    Re: Animated & Lot of data Dominique Payet <dominique.ours@gmail.com> - 2013-07-01 09:30 -0700

#1924 — Animated & Lot of data

FromDominique Payet <dominique.ours@gmail.com>
Date2013-07-01 05:03 -0700
SubjectAnimated & Lot of data
Message-ID<773fe895-55b4-4a0c-8059-a1ecfeaee4b7@googlegroups.com>
hi everybody,

i'm new to gnuplot and i think i need your help :)

i would like to animate some data (temperature). i've only two columns (timestamp and temperature) but for 10 minutes (and a value per second).

My goal is to do a video with animated plot and i would like to have only 10-15 values showing (the rest replace the old ones, i'm not sure it's clear :d)

i've started with :

reset
set term gif animate delay 100
set output "animate.gif"
n=200 # 200 for testing
do for [i=0:n]{
  plot "test.dat" every ::i using 1:2 with lines
}
set output

-- but i don't know how "hide" the 190 others values and show them after.

Sorry for my english :)

[toc] | [next] | [standalone]


#1925

FromChristoph Bersch <usenet@bersch.net>
Date2013-07-01 14:15 +0200
Message-ID<kqrri0$q91$1@dont-email.me>
In reply to#1924
Hi,

Am 01.07.2013 14:03, schrieb Dominique Payet:
>
> reset
> set term gif animate delay 100
> set output "animate.gif"
> n=200 # 200 for testing
> do for [i=0:n]{
>    plot "test.dat" every ::i using 1:2 with lines
> }
> set output
>
> -- but i don't know how "hide" the 190 others values and show them after.

do you mean:

do for [i=0:n] {
   plot "test.dat" every ::i::(i+10) using 1:2 with lines
}


Christoph

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


#1926

FromDominique Payet <dominique.ours@gmail.com>
Date2013-07-01 09:30 -0700
Message-ID<31202367-de3e-4178-ae7b-40341a977f9e@googlegroups.com>
In reply to#1924
It works ! :)

Thanks

[toc] | [prev] | [standalone]


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


csiph-web