Added axis limits to make comparing between iterations easier.

This commit is contained in:
redford_s
2018-01-12 14:29:52 +01:00
parent 777bc0c3e3
commit 3f1e4497f4

View File

@ -131,6 +131,8 @@ int main(int argc, char* argv[]) {
grap_g0->GetXaxis()->SetTitle("Module"); grap_g0->GetXaxis()->SetTitle("Module");
grap_g0->GetYaxis()->SetTitle("Mean G0 [ADU/keV]"); grap_g0->GetYaxis()->SetTitle("Mean G0 [ADU/keV]");
grap_g0->GetYaxis()->SetTitleOffset(0.9); grap_g0->GetYaxis()->SetTitleOffset(0.9);
grap_g0->SetMinimum(38);
grap_g0->SetMaximum(44);
grap_g0->Draw("AP"); grap_g0->Draw("AP");
c1->SaveAs("plots/ModuleSummary_g0.png"); c1->SaveAs("plots/ModuleSummary_g0.png");
@ -139,6 +141,8 @@ int main(int argc, char* argv[]) {
grap_g1->GetXaxis()->SetTitle("Module"); grap_g1->GetXaxis()->SetTitle("Module");
grap_g1->GetYaxis()->SetTitle("Mean G1 [ADU/keV]"); grap_g1->GetYaxis()->SetTitle("Mean G1 [ADU/keV]");
grap_g1->GetYaxis()->SetTitleOffset(0.9); grap_g1->GetYaxis()->SetTitleOffset(0.9);
grap_g1->SetMinimum(-1.6);
grap_g1->SetMaximum(-1.2);
grap_g1->Draw("AP"); grap_g1->Draw("AP");
c1->SaveAs("plots/ModuleSummary_g1.png"); c1->SaveAs("plots/ModuleSummary_g1.png");
@ -147,6 +151,8 @@ int main(int argc, char* argv[]) {
grap_g2->GetXaxis()->SetTitle("Module"); grap_g2->GetXaxis()->SetTitle("Module");
grap_g2->GetYaxis()->SetTitle("Mean G2 [ADU/keV]"); grap_g2->GetYaxis()->SetTitle("Mean G2 [ADU/keV]");
grap_g2->GetYaxis()->SetTitleOffset(0.9); grap_g2->GetYaxis()->SetTitleOffset(0.9);
grap_g2->SetMinimum(-0.13);
grap_g2->SetMaximum(-0.09);
grap_g2->Draw("AP"); grap_g2->Draw("AP");
c1->SaveAs("plots/ModuleSummary_g2.png"); c1->SaveAs("plots/ModuleSummary_g2.png");
@ -155,6 +161,8 @@ int main(int argc, char* argv[]) {
grap_hg0->GetXaxis()->SetTitle("Module"); grap_hg0->GetXaxis()->SetTitle("Module");
grap_hg0->GetYaxis()->SetTitle("Mean HG0 [ADU/keV]"); grap_hg0->GetYaxis()->SetTitle("Mean HG0 [ADU/keV]");
grap_hg0->GetYaxis()->SetTitleOffset(0.9); grap_hg0->GetYaxis()->SetTitleOffset(0.9);
grap_hg0->SetMinimum(94);
grap_hg0->SetMaximum(106);
grap_hg0->Draw("AP"); grap_hg0->Draw("AP");
c1->SaveAs("plots/ModuleSummary_hg0.png"); c1->SaveAs("plots/ModuleSummary_hg0.png");