I can generate a Gray scale Image from some data that I collect. However I am trying to figure out how to generate the image with two color gradients or color scales based on the value. For example negative values are Red gradient and positive values are a blue gradient. Another example since gray scale rescales from 0 to 1 have 0 to .5 be a red gradient and .5 to 1 be a blue gradient.
If its possible creating a scale bar or a bar legend would be nice.