File: animation.html.save

package info (click to toggle)
gnuplot 6.0.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 14,936 kB
  • sloc: ansic: 95,319; cpp: 7,590; makefile: 2,470; javascript: 2,328; sh: 1,531; lisp: 664; perl: 304; pascal: 191; tcl: 88; python: 46
file content (47 lines) | stat: -rw-r--r-- 1,164 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<head>
<title>gnuplot demo script: animation.dem </title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="gnuplot_demo.css" type="text/css">
</head>
<body>
<a href=index.html><image src=return.png alt="Back to demo index" class="icon-image"></a>
<h2>gnuplot demo script: <font color=blue>animation.dem</font> </h2>
<i>generated by animation.gp on Tue Feb  7 11:31:05 2023</i>
<br><i>gnuplot version gnuplot 6.0</i>
<hr>
<table>
<tr>

<td>
        <picture>
          <source srcset="animation.webp" type="image/webp">
          <source srcset="animation.gif" type="image/gif">
          <img src="animation_fail.png">
        </picture>
</td>

<td><pre>
#
# Spinning globe animation (webp or gif encoding)
#
# Simplified code;

set term webp animate delay 100 size 300,300
set output &#39;world.webp&#39;
#
do for [ang = 0:355:5] {
    xrot = 60
    zrot = (720 - ang) %360
    set view xrot, zrot, 1.92, 1 

    splot cos(u)*cos(v),cos(u)*sin(v),sin(u) with lines lc &quot;blue&quot;, \
          &#39;world.dat&#39; with polygons fs transparent solid 0.5 fc &quot;olive&quot;
}
unset output
</pre></td></tr></table>

<br clear=all>

</body>
</html>