From 367bab05341bd4b3ba5c9da2c1833b91e54b39b2 Mon Sep 17 00:00:00 2001 From: Olivier Couet <olivier.couet@gmail.com> Date: Wed, 16 May 2018 16:59:38 +0200 Subject: [PATCH] small improvements --- tutorials/tree/temperature.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/tree/temperature.C b/tutorials/tree/temperature.C index 5405a7405cc..ef34382cd2c 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(); -- GitLab