From e393bc0288e8e3b921c01177cf04de5303959960 Mon Sep 17 00:00:00 2001 From: Zaher Salman Date: Thu, 22 Nov 2012 14:52:48 +0000 Subject: [PATCH] Fixed labels issues in plotting. --- trimsp/TrimSPGUI/plotRge.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trimsp/TrimSPGUI/plotRge.C b/trimsp/TrimSPGUI/plotRge.C index 680bff7..224da00 100644 --- a/trimsp/TrimSPGUI/plotRge.C +++ b/trimsp/TrimSPGUI/plotRge.C @@ -152,11 +152,11 @@ void plotRge(TString &names) legtit += path; legtit += "="; legtit += name; - legtit += " (keV)"; + legtit += " (eV)"; cout << endl << legtit << endl ; rge[i]->SetTitle(str.Data()); - rge[i]->SetFillColor(TColor::kWhite); + rge[i]->SetFillColor(TColor::kWhite); legend->AddEntry(rge[i], legtit); delete fileGraph; @@ -164,6 +164,8 @@ void plotRge(TString &names) cout << endl; mg->Draw("APC"); + mg->GetXaxis()->SetTitle("Depth [nm]"); + mg->GetYaxis()->SetTitle("Normalized Stopping Profile [%/nm]"); legend->Draw();