set title "Children" set arrow 1 from 0,10 to 10,10 ls 8 nohead set arrow 2 from 10,0 to 10,10 ls 8 nohead set tics out set autos xy set size 0.79,0.79 set origin 0.12,0.1 max=25.5 unset xzeroaxis unset yzeroaxis set xlabel "Mother\'s children" set ylabel "Aunt\'s children" set nokey set size ratio -1 # jitter size jit = 0.3 set xrange [-jit:max] set yrange [-jit:max] plot x, 'children.txt' u ($1+jit*(rand(0)-0.5)):($2+jit*(rand(0)-0.5)) w p 5 2 unset arrow pause -1 'ready' set size noratio set xlabel "number of children" set ylabel "count" set autos xy set xrange [0:26] set key top right plot 'Mother' u 1:2 w boxes 7, 'Mother' u 1:3 w l replot 'Aunt' u 1:2 w boxes, 'Aunt' u 1:3 w l pause -1 'ready' set size 0.8,0.405 set origin 0.15,0.5475 set multiplot set title "" set xlabel "" set ylabel "count" set autos xy set xrange [0:26] set key top right plot 'Mother' u 1:2 t'Mother' w boxes 7, 'Mother' u 1:3 t'' w l set origin 0.15,0.085 set xlabel "number of children" plot 'Aunt' u 1:2 t'Aunt' w boxes 3, 'Aunt' u 1:3 t'' w l 4 unset multi pause -1 'ready' set size 0.79,0.79 set orig 0.15,0.115 set title "cumulative frequency" set xrange [0:26] set key bottom right set ylabel "" plot 'Mother' u 1:($6/49.0) t'Mother' w steps 7 replot 'Aunt' u 1:($6/45.0) t'Aunt' w steps 3