Please make sure you have gnuplot installed. The output data stream is saved in file log.dat To run the simulation: bash run.sh Sample output: