]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- small fix for the color code of offline histograms
authorkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Jan 2011 15:04:34 +0000 (15:04 +0000)
committerkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Jan 2011 15:04:34 +0000 (15:04 +0000)
HLT/QA/tasks/macros/overlayPlots.C

index 7ab618db2905d650fc433c65b9e21561dc25805b..6680070bee710e2e080f81a2e54d39d07fd3e449 100644 (file)
@@ -92,7 +92,12 @@ void overlayPlots(string fi="files.txt", const char* option="HLT"/* or "OFF" */)
        }
         
         d->cd(j);
-        if(i==0) g[i]->Draw();
+        if(i==0){
+         g[i]->SetLineColor(kBlack); 
+         TPaveStats *st = (TPaveStats*)g[i]->FindObject("stats"); 
+         st->SetTextColor(kBlack);
+         g[i]->Draw();
+       }
         else { 
          g[i]->SetLineColor(i+1); 
          defineYaxisMax(g[0], g[i]);