Making room for yaxis label

Hi,

Is there any way to move the graph to the right on the canvas, I need more room for my y axis title. I know I can offset the title but there is just not enough room for it even if I did. Here is an example of my issue.

Thanks for any help, George
Example.pdf (14.3 KB)

I did not test it, but have a look on gStyle->SetPadLeftMargin(0.1)

{

   TCanvas *c1 = new TCanvas("c1", "c1",10,45,700,502);
   c1->SetLeftMargin(0.15);

   TH1F *h = new TH1F("h","",1000,1,10);
   h->SetMinimum(0);
   h->SetMaximum(50000);


   h->GetYaxis()->SetTitle("Y title");
   h->GetYaxis()->SetTitleOffset(1.6);
   h->Draw();

}

If your histograms are always of that kind it might be worth creating your own style (or modifying the current one) and setting up in your rootlogon.C.