Basically, I'm trying to do the equivalent of MATLAB's image function on a background. The background is of the same size, if that helps.
In the standard colormap, the colors obtained using image (with a matrix as an argument) range from blue (low values) from yellow (high values).
I want to do such a plot, over an image background. The matrix data changes over time, so I have a loop and want to plot the matrix over the background at each step. I want to ignore the values < 0 from the matrix (i.e. display the original background at those places), and display only the positive ones (which will replace the original background).
How can I do this? Something close to what I want is the imfuse function. However, this also alters the color of the original image as a whole, as the matrix data changes with time. I don't want that. I want to change the background color only at those specific points where the data from the matrix is positive.