Rotate histogram and fit

Hello All,

There has been some discussion about rotating histograms. I have seen that using the “hbar” option will give you a horizontal histogram which is good but not good enough for what I want. I am making a plot of residuals and would like to project the residuals onto the y-axis to plot the pull, then fit this pull and have the fit drawn on the plot. Does anyone have any clever way of drawing a histogram and a fit, after a 90 degree rotation?

Thanks!