Raw Message
Message-ID: <20050804000305.6364.qmail@web40825.mail.yahoo.com> Date: 2005-08-04T00:03:05Z From: array chip Subject: color palette Hi, I have a matrix with both positive and negative numbers, I would like to use image() to draw a heatmap. How can I can design a palette (or is there a function already available) that treat negative numbers in a blue gradient and positive numbers in a red gradient and treat 0 as white? Thanks