Hi, This doesn't seem to work. What I have is a canvas split up into several pads and I then want more room/space between the histogram and the pad frame. Cheers, Carl On Fri, 28 Mar 2003, Olivier Couet wrote: > > Hi Carl, > > You can change the canvas' Left and Bottom margins. The following macro > gives an example: > > { > TCanvas *c1 = new TCanvas("c1","Test",0,0,600,600); > c1->SetLeftMargin(0.25); > c1->SetBottomMargin(0.25); > fun1 = new TF1("fun1","sin(x)",0,6.28); > fun1->Draw(); > } > > Cheers, Olivier > > > On Thu, 27 Mar 2003, Carl Gwilliam wrote: > > > Hi, > > > > When I put axis labels on my histograms they overlap the tick numbers on > > the axis. If I then use > > > > histo[i]->SetTitleOffset(1.5,"X"); > > histo[i]->SetTitleOffset(1.5,"Y"); > > > > to move the labels further out they go off the pad. Is there any way of > > getting round this problem such as making the size of the histogram within > > the pad smaller in order to give move space? > > > > Cheers, > > > > Carl > > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET