Details
-
Bug
-
Status: Closed (View Workflow)
-
High
-
Resolution: Fixed
-
6.10/08, 6.12/04
-
None
-
Linux
Description
Reported on the ROOT Forum at https://root-forum.cern.ch/t/titles-of-x-y-axis/27724
The title of the axes of a TGraph are ignored, despite being set by the user.
Reproducer script:
{
|
TGraph *g = new TGraph(2); |
g->SetMinimum(0.1); g->SetMaximum(10); |
g->SetNameTitle("g", "graph title;x axis title;y axis title"); |
g->SetPoint(0, 1, 1); g->SetPoint(1, 2, 2); |
// g->SetTitle(g->GetTitle()); // bug fix: restore axes titles |
g->Draw("ALP"); |
}
|