How can i use TF1::GetHistogram() without drawing the function (using
TF1::Draw()) ?
If i do not use draw() i get the following error:
root [13] TF1 *func = new TF1 ( "func" , "x" , 0 , 1 ) ;
root [14] TH1D *histo = func -> GetHistogram ( ) ;
root [15] histo -> Draw ( ) ;
Error: illegal pointer to class object histo 0x0 148 FILE:(tmpfile) LINE:1
*** Interpreter error recovered ***
Alessio
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET