Re: [ROOT] Time stamp hidden by histograms

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Sep 29 2003 - 12:13:42 MEST


Hi Nicolas,

In your example, your canvas is divided in two pads and your bottom pad hiddes 
the date. You should leave more margin for the bottom pad, eg with
 gPad->SetPad(.01,.03,.99,.49);

where gPad is the pointer to the bottom pad

You can also specify the botton margin when dividing the canvas.

Rene Brun

Nicolas Delerue wrote:
> 
> Hi,
> 
> I would like to put the date on my plots and for that I use
> 
>   gStyle->SetOptDate(1);
> 
> but my lowest histogram (containing text only) is drawn after the date is
> displayed and thus hids the date (as you can see on the attached gif file,
> I have the same problem with ps files; on the lower left corner of the
> plot you can see the bottom of the "p" of "september").
> 
> Is there a way to ask the date to be displayed after the drawing of the
> histograms?
> 
> I use version 3.05/05 (May 19th 2003)
> 
> Thanks in advance,
> 
> Nicolas
> 
> ====================================================
> Nicolas Delerue
> JLC group,
> Institute of Particle and Nuclear Studies,
> High Energy Accelerator Research Organization (KEK),
> 1-1 Oho,
> Tsukuba Science City,
> Ibaraki-Ken, 305-0801,
> JAPAN
> FEATHER:  http://acfahep.kek.jp/subg/ir/feather/
> Homepage: http://nicolas.delerue.org
> 
>   --------------------------------------------------------------------------------
>                               Name: 2003-09-04-23-44-30.gif
>    2003-09-04-23-44-30.gif    Type: GIF Image (IMAGE/gif)
>                           Encoding: BASE64



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