Hi,
itโs really not clear to me what you are trying to achieve and what the question is
Could you elaborate a bit more?
You are filling 9 TPads a histogram projection, out of 12 TPads in which you have divided your canvas. Do you want to draw on 9 different canvases instead?
I am triyng to draw nine different projections of h1 in the canvas c1. Each projection in a different pad of the divided canvas. But root is drawing the same projection (ProjectionY("", 9, 9)) in all the pads. I want to do:
c1->cd(1);
p = h1->ProjectionY("", 2, 2);
p->Draw();
c2->cd(2);
p = h1->ProjectionY("", 3, 3);
p->Draw();