Re: [ROOT] How to draw uncontinued axis?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Aug 05 2003 - 12:39:17 MEST


Hi,

see: http://root.cern.ch/root/roottalk/roottalk03/2607.html

Rene Brun

On Tue, 5 Aug 
2003, Exaos Lee wrote:

> Thank you, Philippe.
> Another question: How to draw uncontineous axis? E.g, I have an TH1F 
> object: h1=new TH1F("h1","some title",512,-10.,45.). I want to draw only 
> part of the X axis: (-10.,-5.) && (2.,20.) && (35.,45.). How to do that?
> 
> Best regards.
> 
> Exaos
> 
> Philippe Canal ??:
> > Hi Exaos,
> > 
> > In ROOT 3.05.07, using nt->Draw("myfunc(var1)") induces the bytecode
> > compilation of all the loaded interpreted function.  In particular, this
> > include the function you defined in rootalias.C.  In addition, the function
> > you have tickle a CINT bug.  Replace code like
> > 	char s[256] = ....;
> > by
> > 	TString s = ....;
> > (anyway this is a good idea to do so to avoid any potential memory overrun).
> > 
> > A fix will be loaded shortly in the CVS repository.
> > 
> > Cheers,
> > Philippe.
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET