can plot the histogram