Zaktualizuj 'plot.sh'
This commit is contained in:
parent
e4027a47a2
commit
e566e1041f
6
plot.sh
6
plot.sh
@ -1,9 +1,11 @@
|
|||||||
|
tail -n 50 wer.txt > wer_temp.txt
|
||||||
|
tail -n 50 srr.txt > srr_temp.txt
|
||||||
|
|
||||||
for file in wer srr
|
for file in wer srr
|
||||||
do
|
do
|
||||||
tail -n 50 "${file}.txt" > temp.txt
|
|
||||||
gnuplot <<- EOF
|
gnuplot <<- EOF
|
||||||
set term png
|
set term png
|
||||||
set output "${file}.png"
|
set output "${file}.png"
|
||||||
plot temp.txt with lines notitle
|
plot "${file}_temp.txt" with lines notitle
|
||||||
EOF
|
EOF
|
||||||
done
|
done
|
Loading…
Reference in New Issue
Block a user