Skip to content
Snippets Groups Projects
Commit 794fd6e1 authored by Jamil's avatar Jamil
Browse files

Remove TPad command just use c1->cd()

parent c59c3e41
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
for(Int_t ih=0;ih<12;ih++) {
Int_t ipad = 2*(ih%6)+1 + ih/6;
cout << ipad << endl;
TPad *pt = c1->cd(ipad);
c1->cd(ipad);
h[ih]->SetFillColor(kBlue);
h[ih]->SetFillStyle(3354);
h[ih]->Draw();
......
......@@ -22,7 +22,7 @@
for(Int_t ih=0;ih<12;ih++) {
Int_t ipad = 2*(ih%6)+1 + ih/6;
cout << ipad << endl;
TPad *pt = c1->cd(ipad);
c1->cd(ipad);
h[ih]->SetFillColor(kBlue);
h[ih]->SetFillStyle(3354);
h[ih]->Draw();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment