summaryrefslogtreecommitdiff
path: root/gnuplot/anim3d.plt
blob: 05d9f510eaa8aad3813e9f3352c7ca56c015ab2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set view equal xyz
set parametric
set isosamples 34,34

ii = start
do for [ii=start:end] {
    splot cos(u)*cos(v),cos(u)*sin(v),sin(u) w l lc rgb "#42a4f5", \
        'data' every ::ii - states::ii * states using 1:2:3:6 w points palette pointsize 1.2 pointtype 7, \
        'data' every ::1::ii * states using 1:2:3:6 w l palette 
    pause 0.1
}

pause mouse close