[ROOT] 2d histogram: right number but wrong colour in col mode

From: Reinhardt Chamonal (chamonal@ph.ed.ac.uk)
Date: Sat Nov 06 2004 - 16:40:36 MET


I am using v4.00/01
I am filling a 2d histogram (wihtin a C porgram) , with:
where i and j are integers and p is a float.
Now my problem is that when I draw the histogram in col mode sometimes the 
color isn't right when my entry is 1, 1 being my maximum value. With a 
palette from blue to red, sometimes it would be blue and sometimes red 
eventhough the entry is one :(
Any idea of what I might be doing wrong ?
I have attached two pictures where the diagonal illustrates the problem.


 Reinhardt CHAMONAL            The University of Edinburgh  
                               School of Physics 
 email: chamonal@ph.ed.ac.uk   King's Buildings, JCMB, 5301 
                               Mayfield Road                
 phone: +44-131-650 5307       Edinburgh, EH9 3JZ           
 web: http://www.ph.ed.ac.uk/~chamonal/

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET