diff --git a/macros/izvRAN/figSpectraIZV.cxx b/macros/izvRAN/figSpectraIZV.cxx index 1e26649f1559ff00e48a02f4754f6d2d51ee4d95..9a34a308ece89ad5d3d7d69b1f817867039fc585 100755 --- a/macros/izvRAN/figSpectraIZV.cxx +++ b/macros/izvRAN/figSpectraIZV.cxx @@ -3,6 +3,7 @@ #include "TFile.h" #include "TCanvas.h" #include "TH1F.h" +#include "TText.h" #endif @@ -51,6 +52,9 @@ void figSpectraIZV() c1->SetWindowSize(1333, 787); c1->Divide(2, 2, .001, .001); + TText *t1[4]; + TString panel[4] = {"a)", "b)", "c)", "d)"}; + for (Int_t i = 0; i < 4; i++) { c1->cd(i+1); @@ -69,8 +73,22 @@ void figSpectraIZV() hExp[i]->Draw("E same"); if (i==0) hSim[i]->GetYaxis()->SetRangeUser(0,13000); + +// t1[i] = new TText(0.61,10829.39,"d)"); + t1[i] = new TText(0.18,0.87,panel[i].Data()); + t1[i]->SetNDC(); + t1[i]->SetTextFont(132); + t1[i]->SetTextSize(0.07); + t1[i]->Draw(); +// t1[i]->DrawTextNDC(.5, .5, "ajdas"); } +// TText *t1 = new TText(0.61,10829.39,"d)"); +//// t1->SetTextColor(kRed); +// t1->SetTextFont(132); +// t1->SetTextSize(0.07); +// t1->Draw(); + // c1->SaveAs("figures/spectra.eps"); }