Re: [ROOT] Problem with "colz"

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Apr 17 2002 - 12:54:43 MEST


Frank,

Again, this seems to be the usual problem when using obsolete X terminals with
not enough memory. You are probably running tools like Netscape
at the same time. The recipee is to kill Netscape and start again.

We have added an explicit message in the development version
when this situation is detected.

Rene Brun

Franck DELAUNAY wrote:
> 
> Hi all,
> 
> I have some trouble with the "colz" option of the TTree::Draw method.
> I do "gStyle->SetPalette(1)" and then I try to plot one paramater
> against another one, projecting into an TH2F and using the "colz" option
> (ie : t->Draw("p1:p2>>myhist2d","","colz")). A canvas is created, the
> histo is plotted, but with nothing inside, and the colour scale on the
> right side looks strange, with only a few colours separated by white areas.
> If I do not specify any Draw option, evrything goes right. This I get
> using the pro version (3.00/06).
> 
> With the new version (3.02/07), I have another problem. With the same
> Draw command as above, I get :
> 
> root [2] ntu->Draw("(ey+esili):tetap>>hc","nocats==0 && nox2==0","colz")
> <TCanvas::MakeDefCanvas>: created default TCanvas with name c1
> (Int_t)3099
> Error in <RootX11ErrorHandler>: BadAccess (attempt to access private
> resource de
> nied) (XID: 0)
> Error in <RootX11ErrorHandler>: BadAlloc (insufficient resources for
> operation)
> (XID: 0)
> 
> Can anybody help me ?
> 
> Thanks,
> 
> Franck



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:50 MET