Friday, February 8, 2013

GNU plot CDF

you can plot CDF using the following gnuplot command. 

plot "data" u 1:(1./100.) smooth cumulative

Example: plot "data.txt" using $1:(1./100.) smooth cumulative title "CDF" with lines lw 3

References:
1. http://morforma.blogspot.com/2009/07/plotting-cumulative-distribution.html