Add cumulative distribution function of histogram