Histograms in the margins of line and scatter plots