<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>
