Re: [ROOT] Contour plot in log-scale

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Apr 23 2002 - 12:49:25 MEST


Hi Thomas,

logx,y scales are not supported with options cont0,1,2,3
but are supported with the contour option cont4

Rene Brun

Thomas Bretz wrote:
> 
> Hi rooters,
> 
> I have a TH2D histogram filled with some data. I draw it using 'cont2'
> (or other 'cont' options) As soon as I switch the x or y axis to log
> scale the data dissapears completely or becomes shifted to the right
> (the contour lines starting somewhere in the middle of the histogram and
> are extended to the edge of the pad)
> 
> Is this known or am I doing something wrong?
> 
> Simple example:
> TH2F hist("n", "t", 10, 10, 100, 10, 10, 100);
> hist.Fill(...);
> hist.Fill(...);
> hist.Fill(...);
> hist.Fill(...);
> hist.Draw("cont2");
> 
> Now klick on SetLogx...
> 
> Best regards,
> Thomas.



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