[ROOT] Re: your mail

From: Rene Brun (Rene.Brun@cern.ch)
Date: Sat Aug 12 2000 - 21:26:30 MEST


Hi Claire,

On Sat, 12 Aug 2000, Claire Gwenlan wrote:

> Hi Rene,
> 
> I have attached the canvas.root. However, I don't think that the thing
> with the error bars that I mentioned is actually a 'problem' as such,
> because in the tutorials etc., the error bars do look the same as what I'm
> getting. It's just that the error bar lines do not go all the way to the
> marker. There is always a slight gap. If you do not set the marker style
> to anything then things are fine. However, if you want a marker then there
> is this gap. Ordinarily, it is fine, but if the error bars are very small
> anyway, then you end up not seeing anything of them.
> 
I cannot reproduce your problem with your canvas. It could be that it is
connected with the screen resolution. Do you see the problem with the 
Postscript file? Try using gv and zooming.

> The other thing is that the c1->RedrawAxis() works great for the actual
> axes (thanks very much) but is there anyway, to redraw the whole frame (in
> particular the right hand vertical side of the frame). What I should have
> said before, rather than 'FillColor' was if you have a 'SetLineColor'.
> then your histogram gets drawn in whatever colour you've chosen but where
> ever the histogram touches the frame, the frame goes that colour.
> Obviously the redrawAxis gets rid of it for the bottom and left hand
> lines, but not for the right hand line.

You can call TPad::SetTicksX/Y. THis will force the redrawing on the axis 
on the right and top via RedrawAxis.
> 

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