File: plot_strokes_statistics

package info (click to toggle)
krita 1%3A3.1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 430,944 kB
  • ctags: 68,203
  • sloc: cpp: 798,916; xml: 7,448; ansic: 3,844; perl: 434; sh: 140; makefile: 20
file content (31 lines) | stat: -rwxr-xr-x 660 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
gnuplot -p << EOF

set size 1,1
set origin 0,0

set multiplot

set grid
set key bottom right
set key box
unset title
set xlabel "Mouse speed, px/msec"
set ylabel "Response time, msec"

set size 1,0.5
set origin 0,0.5
plot '< sort -n -t \t $1' using 1:4 title "Total response time" with linespoints pointtype 2, \
     '< sort -n -t \t $1' using 1:3 title "Jobs running time" with linespoints pointtype 10

set grid
set key top right
set key box
unset title
set xlabel "Mouse speed, px/msec"
set ylabel "Stroke jobs per update"

set size 1,0.5
set origin 0,0
plot '< sort -n -t \t $1' using 1:2 title "Jobs per update" with linespoints pointtype 2
EOF