Re: [ROOT] ClolorFilled histograms

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Sep 19 2001 - 10:08:41 MEST


Hi Miha,


On Tue, 18 Sep 2001 miha.puc@marvin.fmf.uni-lj.si wrote:

> Hi!
> 
> Two things!
> 
> 1.
> When I Draw a few histograms one upon the other (with "same" option) and
> then set to them a fill color, all the filled areas, except that of the
> main histogram, cover the grid and tickmarks. This feature makes the plots less
> efficient and less beautiful.

Use TPad::RedrawAxis
  gPad->RedrawAxis(); //after having drawn all your histograms

> 
> 2.
> Is it possible, when editing a canvas using the editor, to change the
> order of objects to be drawn? I would sometimes like an object which is
> drawn over the other to be drawn under it (for example two crossing lines
> of different color).

Click on the histogram you want to pop in front using the middle mouse
button

Rene Brun

> 
> Best regards
> 
> Miha
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:00 MET