File indexing completed on 2024-05-05 04:31:19

0001 #!/bin/sh
0002 gnuplot -p << EOF
0003 
0004 set size 1,1
0005 set origin 0,0
0006 
0007 set multiplot
0008 
0009 set grid
0010 set key bottom right
0011 set key box
0012 unset title
0013 set xlabel "Mouse speed, px/msec"
0014 set ylabel "Response time, msec"
0015 
0016 set size 1,0.5
0017 set origin 0,0.5
0018 plot '< sort -n -t \t $1' using 1:4 title "Total response time" with linespoints pointtype 2, \
0019      '< sort -n -t \t $1' using 1:3 title "Jobs running time" with linespoints pointtype 10
0020 
0021 set grid
0022 set key top right
0023 set key box
0024 unset title
0025 set xlabel "Mouse speed, px/msec"
0026 set ylabel "Stroke jobs per update"
0027 
0028 set size 1,0.5
0029 set origin 0,0
0030 plot '< sort -n -t \t $1' using 1:2 title "Jobs per update" with linespoints pointtype 2
0031 EOF