Working with boxplots and histograms