annotate TOOLS/benchmark-gab/plot @ 18131:e83548b7bd3b

removed unreachable code: this filter can't compile with external libavcodec (the Makefile rules prevent it)
author nicodvb
date Mon, 17 Apr 2006 20:20:28 +0000
parents 14c85528d202
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7185
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
1 #!/bin/sh
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
2 #
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
3 # needs ImageMagick and gnuplot installed
11728
diego
parents: 7185
diff changeset
4 # ImageMagick not needed if you don't wanna convert to JPG
7185
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
5 #
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
6
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
7 . ./variables
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
8
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
9 rm -f *.plot
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
10 rm -f log-*.pbm
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
11 rm -f log-*.jpg
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
12 rm -f plot.file
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
13
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
14 for i in log-*; do
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
15 grep Total: $i | awk '{print $6}' | sed s/s// | nl | head -n 75 > $i.plot
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
16 done
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
17
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
18 for i in log-*.plot; do
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
19 echo "set key left box" > plot.file
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
20 echo "set samples 50" >> plot.file
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
21 echo "set term pbm" >> plot.file
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
22 echo "plot [0:75] '$i'" >> plot.file
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
23 #echo "pause -1 \"Hit return to continue\"" >> plot.file
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
24 #echo "" >> plot.file
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
25 gnuplot plot.file > $i.pbm
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
26 convert $i.pbm $i.jpg
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
27 rm -f $i.pbm
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
28 done
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
29
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
30 #gnuplot plot.file > out.pbm
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
31 rm -f *.plot
3d40a2bbd73b very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff changeset
32 rm -f plot.file