How can I apply two gradients to a heat map based on a categorical variable?Hi! I am trying to make a heat map of a continuous function for 8 different trials to visualize variability between the trials. Within each trial, there are 2 categorical variables, SS and DS. I would like to make a heat map with these values (see image), but I am unsure about how to create two different gradients. I would like to make the gradient for SS in shades of blue, but the gradient for DS samples in shades of orange. Obviously, I can split the data and make two separate graphs, but I want to do this on the same plot. Any ideas?
Basic Data Analysis and ModelingmacOSRe: How can I apply two gradients to a heat map based on a categorical variable?At least if you have two separate Y-axis you can do this

Right click on each legend and change the coloring of Gradient

Re: How can I apply two gradients to a heat map based on a categorical variable?Thanks! This seems to work well. I hadn't thought to split it that way but it gets the job done.