diff --git a/tutorials/tree/temperature.C b/tutorials/tree/temperature.C index 5405a7405ccdb7a7e13d165c03c7c2485c329395..ef34382cd2c4e542399c9cfd96952652c894be8f 100644 --- a/tutorials/tree/temperature.C +++ b/tutorials/tree/temperature.C @@ -91,10 +91,11 @@ void HighlightYear(Int_t xhb) hMonth->SetMinimum(rTemp[1]); hMonth->SetMaximum(rTemp[2]); hMonth->GetXaxis()->SetNdivisions(112); + hMonth->GetXaxis()->CenterLabels(); hMonth->GetYaxis()->SetNdivisions(410); hMonth->SetFillColor(kGray+1); hMonth->SetMarkerStyle(7); - c1->cd(2); + c1->cd(2)->SetGridx(); hMonth->Draw("HIST, CP"); gPad->Update(); hMonth->SetHighlight();