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 'world.webp'
#
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 "blue", \
'world.dat' with polygons fs transparent solid 0.5 fc "olive"
}
unset output
</pre></td></tr></table>
<br clear=all>
</body>
</html>
|