Re: [ROOT] Graph object with axis title alignment

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Aug 27 2003 - 08:28:34 MEST


Hi,

You can use the TStyle::SetPadXXXMargin, eg in your rootlogon.C file, add
  gStyle->SetPadRightMargin(0.05);
  gStyle->SetPadTopMargin(0.05)

Rene Brun

On 
Wed, 27 Aug 2003, Takefumi SORA wrote:

> 
> Hi rooters
> 
> Maybe in default graph is drawn in center of canvas.
> I always think that top and right margin of canvas looks some large
> because of x and y-axis title.
> So I always move graph upper right so that each margins are same
> by GUI and inspect menu.
> 
> What should I write in .rootrc or my script (graph.C) to move graph
> with axis title to center of canvas automatically?
> 
> Takefumi
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET