Patrick, TGraph::GetXaxis is a shortcut for TGraph->GetHistoGram()->GetXaxis(); The histogram exists only once you have drawn the TGraph object and this object has been really paint in the pad. See for example comments at the end of tutorial graph.C Rene Brun On Mon, 27 Mar 2000, Patrick Dupre LCMI wrote: > What is the reason for which TGraph::GetAxis () pointe on 0 ? > > -- > --- > ============================================================================== > Patrick DUPRE | | Tel: (33 4) 76-88-78-51 > CNRS/LCMI (GHMFL) | | Fax: (33 4) 76-85-56-10 > 25 Rue des Martyrs, BP 166 | | http://eschyle.polycnrs-gre.fr > F-38042 GRENOBLE Cedex 09 | | email: pdupre@polycnrs-gre.fr > ============================================================================== >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET