Re: [ROOT] drawing histograms with a log scale

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Sep 03 2003 - 14:42:47 MEST


Hi Chris,

This problem is now fixed in CVS.
Thanks for reporting.

Rene Brun

Chris Jillings wrote:
> 
> Hi all,
>      I have encountered a graphics feature I don't understand...
> I run the following macro. The histogram line extends out left beyond
> the frame of the plot. I am not sure why.
> 
>      My system:
> 
> Linux 2.4.18
> gcc 2.96
> Root 3_05_07
> 
> Thanks again,
> 
> Cheers,
> 
> Chris
> 
> {
> TH1F* h = new TH1F("h","hello",30,10,10000);
> h->SetLineColor(kRed);
> h->SetLineWidth(3);
> 
> h->Fill(1000);
> h->Draw();
> gPad->SetLogx();
> }
> 
> --
> Chris Jillings
> jillings@caltech.edu
> http://www.krl.caltech.edu/~jillings/
> (626) 395-2922



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