Plot histograms for images.