I'm trying to make a histogram where on the first two pages I draw 4 histos on each page, on the third page I only want to draw one. I only want three pages but when I use the following code I get four pages ("ps" is the postscript file, "can1" is my canvas):
ps.NewPage()
can1->Divide(2,2)
histo1->Draw()
…
…
ps.NewPage()
can1->Divide(2,2)
histo5->Draw()
…
…
can1->Clear()
histo9->Draw()
…
…
It’s not essential to my research to remove that extra page, it’s just annoying to have everytime I open my ps file.