I need to create my own heat map, as shown in the attached figure. It differs from a regular heat map in the sense that I want it to use two color gradients, one for positive values ββand one for negative values.

As shown in the attached figure, I would like one color to reflect the intensity of values ββthat are positive (or ideally above a certain threshold) and another color to represent the intensity of negative values ββ(alternatively below the threshold).
A small background: I have a binary choice, one option should be preferable for a certain range of data, while the other is preferable to the rest of the data. I want to provide visual help that will show which option / choice is better for different data combinations, but I want the visual help to also provide the βglossβ scale that one option has over the other for this instance. Thus, the color will tell you which option to choose, and the color intensity - tell how much better this option compared to the other.
source share