[ROOT] Contour plot in log-scale

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Tue Apr 23 2002 - 11:30:50 MEST


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