first plotation release

This commit is contained in:
tTh 2022-12-12 00:52:19 +01:00
parent 7a6e5f1e27
commit 9569e1b462

View File

@ -14,7 +14,7 @@ NUMERO=$1
SRC=$(printf "WS/data/%05d.txt" $NUMERO) SRC=$(printf "WS/data/%05d.txt" $NUMERO)
DST=$(printf "WS/graph/%05d.png" $NUMERO) DST=$(printf "WS/graph/%05d.png" $NUMERO)
TXT=$(printf "Mass bodies #%05d" $NUMERO) TXT=$(printf "mb #%05d" $NUMERO)
echo " " $SRC $DST " " $TXT echo " " $SRC $DST " " $TXT
@ -23,20 +23,20 @@ set term png size 512,512
set xrange [ 0.0 : 1024 ] set xrange [ 0.0 : 1024 ]
set yrange [ 0.0 : 1024 ] set yrange [ 0.0 : 1024 ]
set output "${DST}" set output "${DST}"
set ytics 256 set ytics 128
set xtics 256 set xtics 128
set grid front set grid front
set title "${TXT}" set title "${TXT}"
plot "$SRC" using 1:2 title "location" plot "$SRC" using 1:2 title "loc"
__EOC__ __EOC__
} }
# ---------------------------------------------------------- # ----------------------------------------------------------
for foo in $(seq 0 8 1999) for foo in $(seq 0 5 1999)
do do
plot_a_map $foo plot_a_map $foo
done done
convert -delay 10 WS/graph/0????.png foo.gif convert -delay 10 WS/graph/0????.png displacement.gif
# ---------------------------------------------------------- # ----------------------------------------------------------