File: seqpar.gnuplot

package info (click to toggle)
ruby-citrus 3.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 420 kB
  • sloc: ruby: 3,417; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
f1(x) = a*x
a = 0.5
fit f1(x) 'before.dat' using 1:2 via a

f2(x) = b*x
b = 0.5
fit f2(x) 'after.dat' using 1:2 via b

set xlabel "Length of input"
set ylabel "CPU time to parse"

plot a*x        title 'a*x (Before)',\
     b*x        title 'b*x (After)',\
     "before.dat" using 1:2 title 'Before', \
     "after.dat" using 1:2 title 'After'