| Log Message: |
The following macro did not show the x-axis in TimeDisplay mode.The
mg->GetYaxis()->UnZoom(); command erased the Time attribute of the axis.
{
TMultiGraph* mg = new TMultiGraph;
TGraph* g = new TGraph;
for (int i = 0; i < 100; i++) g->SetPoint(i, 1289420808+i, i+2);
mg->Add(g, "P");
mg->Draw("AP");
mg->GetXaxis()->SetTimeDisplay(1);
mg->GetYaxis()->UnZoom();
gPad->Modified();
gPad->Update();
}
|