1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-19 00:29:42 +02:00

m1rc3/norruption/2/plot-cdf: start empirical distribution at (0, 0)

Looks better when a run is just getting started and has few samples.
This commit is contained in:
Werner Almesberger 2011-10-13 11:06:29 -03:00
parent 86e86dca5a
commit 9b2f2d1c00

View File

@ -46,6 +46,7 @@ $cmd = "|gnuplot -e '".
"'"; "'";
open(PIPE, $cmd) || die "open: $!"; open(PIPE, $cmd) || die "open: $!";
print PIPE "0 0\n";
$i = 0; $i = 0;
for (sort { $a <=> $b } @d) { for (sort { $a <=> $b } @d) {
$i++; $i++;