Re: [ROOT] How to plot data on correct position if use decreasing axis.

From: Faouzi Attallah (F.Attallah@gsi.de)
Date: Thu Jul 05 2001 - 13:49:06 MEST


Hi,

Meanwhile I have a small naive idea : what Isuchiya wanted to do is just a
mirror plot according to the zero-axis, I think in this way a
multiplication of the function by "-" will do the job.

Cheers,
Faouzi

 F. Attallah 
GSI mbH 
Planckstr 1
D-64291 Darmstadt 
  Tel: +49 (0)6159 71 2743
  Fax: +49 (0)6159 71 2901
Email: F.Attallah@gsi.de
 Home: +49 (0)6150 980 807
 

On Thu, 5 Jul 2001, Rene Brun wrote:

> Hi Harufumi,
> 
> Plotting downwards is not implemented.
> Support for this feature could be implemented for simple cases (TGraph or TH1)
> However, objects of these types with error bars and associated functions,
> annotations, log scales, etc would be more complex to support.
> The only solution that I see is to have this logic at the TPad level, but
> it would have side-effects for the annotations.
> 
> Rene Brun
> 
> Harufumi Tsuchiya wrote:
> > 
> > Hi Rooters,
> > 
> > I have the data from 14.0 to 28 along y axis and
> > I would like to plot the data from 28 to 14.
> > I succeeded in showing the decreasing number on y axis,
> > using TGaxis sample.
> > But, in this case, data points is plotted from 14 to 28.
> > 
> > Here, I have a question.
> > Must I modify the original data points for plotting
> > on correct position or Is there a elegant way to make such
> > a plot using ROOT class ?
> > 
> > Tkank for you helps.
> > 
> > Harufumi Tsuchiya.
> 



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