[ROOT] THStack and suppressing histogram error bars

From: Amanda Weinstein (amanda@SLAC.stanford.edu)
Date: Tue Jan 21 2003 - 03:37:36 MET


I have a set of histograms that I want to use THStack to plot in
a stacked fashion.  For other reasons, these histograms have had
the Sumw2() option invoked, but when doing the stacked plots, I
want the error bars suppressed and the fill colors honored.

If, however, I try doing

stack->Draw("hist")

it only draws the first histogram in the list and leaves out all the
others.  Using SetDrawOption or SetOption for each histogram individually
does not seem to help, the stack seems to "lose" these settings.  Does
anyone have any suggestions about what I should be doing here?

				Thanks,
				  Amanda



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET