Animierte Zeichnung

agraph width=600; height=550; xmin=-9.5; ymin=-1.5; xmax=4.5; V = 20; M = -5; stroke="grey"; i = 0.1; // halbe Ticklänge with (Math) // Maße an Achse for (var u = 0; u < 4.01; u += 1) text([u,0], u.toFixed(0), "below"); text([0.2, 10.5],"`h(r)=V/(pi*r^2)`", "right"); text([1,-0.8],"Mauszeiger hier waagrecht bewegen", "below"); stroke="blue"; strokewidth=2; line([0.5, -0.8], [4.2, -0.8]); text([M, 10], "Konstantes Zylindervolumen V", "above" ); stroke="black"; t = 1.8; endagraph