Setting TCanvas range

Hi all,

I’m trying to draw several TF1 functions on a TCanvas. Currently, I’m drawing the first function with no parameters, ie, funct1->Draw(), and I’m drawing the other ones by funct2->Draw(“same”). However, the problem with this method is that the first function sets the x and y max to low values, often leaving other functions out of view. Is there any way to set the canvas size (in cartesian x and y, not pixels) to begin with, so that I can avoid this problem?


do, eg

TCanvas C1; c1.DrawFrame(xmin,ymin,xmax,ymax); f1.Draw("same"); f2.Draw("same"); //etc

Thanks again.