[ROOT] Histogram minimum maximum

From: Andreas Salzburger (Andreas.Salzburger@cern.ch)
Date: Wed Jan 22 2003 - 15:46:28 MET


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