Is there an easy way to -not- draw horizontal error bars for bins with
zero entries? (I'm talkin' TH1 here.) The (aesthetic) problem is
illustrated in the macro below.
{
TH1F* h = new TH1F("h","h", 10, 0., 100.);
for (Int_t i = 0 ; i < 50; ++i ) {
for (Int_t j = 0 ; j < i ; ++j) {
h->Fill(10 + j);
}
}
h->SetMinimum(-50.);
h->Sumw2();
h->Draw();
}
Thanks for your help.
-N
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET