[ROOT] ROOT is too smart

From: Rolf Dubitzky (dubitzky@pktw06.phy.tu-dresden.de)
Date: Thu Feb 21 2002 - 15:49:34 MET


Hi,

in some cases I think ROOT tries to be a little too smart when drawing 
histogramms. Maybe one can reconcider some functionality.

1) Why doeas the following draw Polymarkers even if I don't specify "P" ?
   How can I switch the markers off? Only by setting the size to 0?

    TH1F *f = new TH1F("h","h",100,-3,3);
    f->FillRandom("gaus");
    f->SetMarkerStyle( 22 );
    f->Draw("E");


2) Why does the following draw errorbars even if I don't specify "E"? 
   How can I switch it off?

    TH1F *f = new TH1F("h","h",100,-3,3);
    f->FillRandom("gaus");
    f->Sumw2();
    f->Draw("P");

I think it would be more intuitiv, if ROOT draws error bars when I specify E 
and doesn't if I don't, same for polymarkers, but this only my personal 
opinion of course.
 
Cheers,
Rolf

***************************************************************
 Rolf Dubitzky  
 e-mail: Rolf.Dubitzky@Physik.TU-Dresden.de
 s-mail see http://hep.phy.tu-dresden.de/~dubitzky/
***************************************************************



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET