Compare distribution of three random integer algorithm.
sadrand
rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

runplot.sh 302B

1234567891011
  1. #!/bin/sh
  2. cargo run --release -- $* | tee /tmp/rnd.dat \
  3. && ./plot.gp
  4. #gnuplot -p -e '
  5. # set key left bottom;
  6. # plot
  7. # "/tmp/rnd.dat" using 1:2 w l t "std-rand" lt rgb "green"
  8. # ,"/tmp/rnd.dat" using 1:3 w l t "mod-rand" lt rgb "blue"
  9. # , "/tmp/rnd.dat" using 1:4 w l t "prop-rand" lt rgb "red"
  10. #'