When I changed the minimum for the colour scale to -0.5, the colour problem vanished and all my maximum values had the right colour. -- ------------------------------------------------------------ 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/ http://www.reuh.ovh.org ------------------------------------------------------------ ---------- Forwarded message ---------- Date: Sat, 6 Nov 2004 15:40:36 +0000 (GMT) From: Reinhardt Chamonal <chamonal@ph.ed.ac.uk> To: roottalk@cern.ch Subject: 2d histogram: right number but wrong colour in col mode Hi, I am using v4.00/01 I am filling a 2d histogram (wihtin a C porgram) , with: correl->Fill(i,j,p); 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. Cheers -- ------------------------------------------------------------ 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/ http://www.reuh.ovh.org ------------------------------------------------------------
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET