Fixed labels issues in plotting.
This commit is contained in:
@ -152,7 +152,7 @@ void plotRge(TString &names)
|
|||||||
legtit += path;
|
legtit += path;
|
||||||
legtit += "=";
|
legtit += "=";
|
||||||
legtit += name;
|
legtit += name;
|
||||||
legtit += " (keV)";
|
legtit += " (eV)";
|
||||||
|
|
||||||
cout << endl << legtit << endl ;
|
cout << endl << legtit << endl ;
|
||||||
rge[i]->SetTitle(str.Data());
|
rge[i]->SetTitle(str.Data());
|
||||||
@ -164,6 +164,8 @@ void plotRge(TString &names)
|
|||||||
cout << endl;
|
cout << endl;
|
||||||
|
|
||||||
mg->Draw("APC");
|
mg->Draw("APC");
|
||||||
|
mg->GetXaxis()->SetTitle("Depth [nm]");
|
||||||
|
mg->GetYaxis()->SetTitle("Normalized Stopping Profile [%/nm]");
|
||||||
legend->Draw();
|
legend->Draw();
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user