Re: [ROOT] Histogram minimum maximum

From: Luc Perrot (lperrot@cea.fr)
Date: Wed Jan 22 2003 - 16:10:59 MET


It is logical, because -1e-4 is superior to -1e-8 !


On Wed, 22 Jan 2003, Andreas Salzburger wrote:

> dear roottalkers,
> 
> i'd like to create an empty 1D histogram, in which i try to plot a graph
> afterwards.
> The values of my graph are between -1e-4 and -1e-8. But i cant set the
> maximimum and mimimum like that:
> 
> Double_t hist_min = -1e-4;
> Double_t hist_max = -1e-8;
> 
> hist->SetMinimum(hist_min);
> hist->SetMaximum(hist_max);
> hist->Draw();
> 
> This draws a histogram with hist_min=-1 and hist_max=+1.
> Has anyone a solution for me?
> 
> Thank's in advance
> Andreas
> 
> 
> 



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