| 1 |
// @(#)root/graf:$Name: $:$Id: TMultiGraph.cxx,v 1.7 2002/01/28 11:51:09 brun Exp $ |
// @(#)root/graf:$Name: $:$Id: TMultiGraph.cxx,v 1.8 2002/02/19 17:43:41 brun Exp $ |
| 2 |
// Author: Rene Brun 12/10/2000 |
// Author: Rene Brun 12/10/2000 |
| 3 |
|
|
| 4 |
/************************************************************************* |
/************************************************************************* |
| 159 |
// Get x axis of the graph. |
// Get x axis of the graph. |
| 160 |
|
|
| 161 |
if (!gPad) return 0; |
if (!gPad) return 0; |
| 162 |
return GetHistogram()->GetXaxis(); |
TH1 *h = GetHistogram(); |
| 163 |
|
if (!h) return 0; |
| 164 |
|
return h->GetXaxis(); |
| 165 |
} |
} |
| 166 |
|
|
| 167 |
//______________________________________________________________________________ |
//______________________________________________________________________________ |
| 170 |
// Get y axis of the graph. |
// Get y axis of the graph. |
| 171 |
|
|
| 172 |
if (!gPad) return 0; |
if (!gPad) return 0; |
| 173 |
return GetHistogram()->GetYaxis(); |
TH1 *h = GetHistogram(); |
| 174 |
|
if (!h) return 0; |
| 175 |
|
return h->GetYaxis(); |
| 176 |
} |
} |
| 177 |
|
|
| 178 |
//______________________________________________________________________________ |
//______________________________________________________________________________ |