]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/QA/tasks/macros/overlayPlots.C
- small fix for the color code of offline histograms
[u/mrichter/AliRoot.git] / 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]);