Re: [ROOT] Redrawing Frames

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Aug 12 2000 - 17:53:11 MEST


Hi Claire,


On Sat, 12 Aug 2000, Claire Gwenlan wrote:

> 
> Hi everybody,
> 
> Just a couple of quick questions. I have aplot with some data points and
> an MC histogram. The histograms has a fill colour and so it covers over
> the axes and also the rest of the frame that it is overlapping with. How
> do you redraw the frame so that you get the original black border around
> it again.

Use TPad::RedrawAxis. eg, if your canvas is c1, after having dramn your
histogram(s), do
  c1->RedrawAxis();

> 
> Also, my data points are plotted as Draw("e1p"). Can you change the
> properties of the error bars so that they have the same style as e1p but
> they join completely to the marker i.e. at the moment I have that slight
> gap between the edge of the marker and where the error bar actually
> begins.

Could you send me a canvas.root file with this problem?
To produce the canvas.root file, go to the canvas "File" menu and
select the item "Save as canvas.root"
Which version are you using?

Rene Brun
> 
> Cheers,
> 
> Claire
> 
>  __________________________________
>  Claire Gwenlan
>  Department of Physics & Astronomy
>  University College London
>  Gower Street
>  LONDON
>  WC1E 6BT
> 
>  Tel: (0171) 419 3454
> _________________________________
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET