Hi, Setting the axis title via the right mouse button is one thing. But if I have a TGraph object say "gr", the command gr->GetHistogram->SetXTitle("X axis"); produces an error message: illegal pointer to class object GetHistogram() What is wrong here ? Using only "gr->GetHistogram();" works but has no effect. Is it possible to use an histogram instead of the graph. Can you make fits using (x,y) pairs within a histogram or is it only possible to fit one set of values that is spread equally over a discrete number of channels (like in the tutorial-file multifit.C)? Any suggestions? Oh, a last one. there is a howto about using Postscript. When I use this and I try to change the size of the resulting picture via "Range(8,8);" the code doesn't produce a picture that is 8 cm by 8 cm but a picture that has stil the default size. Any help is appreciated bye, Mats P.S: Congratulations for "root", I really like it. Finally one can create plots whithout spending hours with a "point an click" interface.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET