I’m trying to plot a histogram without the error bars and plot the results of the fitted function. The default drawing options for histograms in root 5 was to just plot the histogram and the fit function. Now, in root 6 the error bars are drawn by default.
At this point I can do this
pHist->Draw(“hist”);
draw the histogram without the error bars
if I do
pHist->Draw()
I get the fitted function and the error bars.
if I do a
pHist->Draw(“HIST FUNC”)
I get no function since HIST disables the drawing of functions…