plot_cdf function

Plot the CDF of a distribution