Fixed labels issues in plotting.
This commit is contained in:
@ -152,7 +152,7 @@ void plotRge(TString &names)
|
||||
legtit += path;
|
||||
legtit += "=";
|
||||
legtit += name;
|
||||
legtit += " (keV)";
|
||||
legtit += " (eV)";
|
||||
|
||||
cout << endl << legtit << endl ;
|
||||
rge[i]->SetTitle(str.Data());
|
||||
@ -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();
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user