[ROOT] Draw option ...

From: zaldy (zaldy@neutrino.kek.jp)
Date: Mon Mar 15 2004 - 04:33:34 MET


Dear Rooters,


I just wanted to draw a point from the TH1F object.
I want it to be a box such that the error bars represents the width and 
length of the box. This is very helpful if we want to compare a MonteCarlo 
Data and a true data.

I tried something like this:

 TH1F * h = new TH1F(....);
 .....
 fill the histogram
 ......
 h->SetMarkerStyle(25);
 h->Draw("e2");

There is actually a box on a coordinate but it does not represent the 
errors of the histogram. SO if I want to have a logscale(X or Y), the box 
does not response to the logscale.

Can you suggest how to do it?


Thanks.


-- 

--------------------------------------------------------
                   Zaldy A. Nawang 
                   PS Users Room 2
                   Yon Gokan, 
                   E362, Neutrino Group, 
                   IPNS, KEK, 
                   Japan 
                    
                   e-mail: zaldy@neutrino.kek.jp
                   Tel. No. : (81) 029864 - 5387
--------------------------------------------------------



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET