Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ep:labs:061:contents:tutorial:ex4 [2025/02/11 23:56]
cezar.craciunoiu removed
— (current)
Line 1: Line 1:
-==== 04. [1.5p] Animations ==== 
- 
-  * Animations in Gnuplot can be built using “do for []{…}”; 
-  * Set a circle in the centre: set object circle at …; 
- 
-<​code>​ 
-#example_1 
-plot '​dataset.txt'​ every I:​J:​K:​L:​M:​N ​ 
-plot '​dataset.txt'​ every 2 # Plot every 2 lines 
-plot '​dataset.txt'​ every ::3         # Plot starting from the 3rd line 
-plot '​dataset.txt'​ every ::3::15 # Plot lines 3-15 
-  
-#example_2 
-do for [t=0:50] { 
-  outfile = sprintf('​animation/​bessel%03.0f.png',​t) 
-  set output outfile 
-  splot u*sin(v),​u*cos(v),​bessel(u,​t/​50.0) w pm3d ls 1 
-  pause 0.02 
-} 
-</​code>​  
  
ep/labs/061/contents/tutorial/ex4.1739310965.txt.gz · Last modified: 2025/02/11 23:56 by cezar.craciunoiu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0