Re: TGraph

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Mar 14 2000 - 18:54:42 MET


Patrick,
There was an exchange of mails on this topic in the past few weeks.
The solution is simple: substract the origin offset to your x data
and the problem is solved.
TGraph uses single precision internally to store the X and Y arrays.
Since TGraph was initially designed as a graphics object, the precision
was
not an issue.
One could obviously provide a TGraph double precision !
Is this an urgent request ?

Rene Brun


Patrick Dupre LCMI wrote:
> 
> > Hello,
> I already send this message, but it stays whitout any answer, so I do
> resubmit it.
> >
> > I need to plot data from, let say 25125 to 25128, so I need to do this by
> > using doubles. TGraph do not accept the double, so what it the solution ?
> > Thank.
> PS Using float gives bad display.
> 
> --
> ---
> ==============================================================================
>    Patrick DUPRE                |   |   Tel:  (33 4) 76-88-78-51
>    CNRS/LCMI (GHMFL)            |   |   Fax:  (33 4) 76-85-56-10
>    25 Rue des Martyrs, BP 166   |   |   http://eschyle.polycnrs-gre.fr
>    F-38042 GRENOBLE Cedex 09    |   |   email: pdupre@polycnrs-gre.fr
> ==============================================================================



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