Hi! I’d like to know how I can use SetLogy when I have a loop as in the followiong example:
TCanvas *c1 = new TCanvas(“c1”,“canvas”,800,600);
for(int l=0;l<N_PADs;l++){
c1->Divide(2,2);
for (int m=0;m<4;m++){
c1->cd(m+1);
hCha_Rate_PAD_CM_Ijk_Sect7[l][m][0]->Draw();
}
sprintf(title,"S7_PIVOTchan_PAD%i_LY0.gif",l);
c1->Print(title,"gif");
c1->Update();
c1->Clear();
It seems that gPad doesn’t work