21 lines
527 B
Gnuplot
21 lines
527 B
Gnuplot
|
set terminal postscript enhanced eps color
|
||
|
set output "hist.eps"
|
||
|
|
||
|
set key off
|
||
|
|
||
|
# Make some suitable labels.
|
||
|
set title "Work Performed per Participant"
|
||
|
set xlabel "Number of Interpolations Performed"
|
||
|
set ylabel "Number of Minions"
|
||
|
|
||
|
|
||
|
set style histogram clustered gap 1
|
||
|
set style fill solid border -1
|
||
|
|
||
|
binwidth=5
|
||
|
set boxwidth binwidth
|
||
|
bin(x,width)=width*floor(x/width) + binwidth/2.0
|
||
|
|
||
|
plot 'hist1.out' using (bin($1,binwidth)):(1.0) smooth freq with boxes
|
||
|
# plot 'hist2.out' using (bin($1,binwidth)):(1.0) smooth freq with boxes
|