I got a set of data which when I plot histogram I got this enter image description here But when I use ksdensity to plot this data it turns out like this enter image descrip