Re: [ROOT] drawing histograms with a log scale

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Sep 03 2003 - 08:52:16 MEST


Hi Chris,

Thanks for reporting this interesting combination of coordinates with
the log scale in X. We will fix this.

Rene Brun

On 
Tue, 2 Sep 2003, 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();
> }
> 
> 



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