I would like to create an image that shows both the intensity and polarization (an angular quantity) as a function of position. I thought that the best way to do this would be as a 2D plot using brightness for intensity and hue for polarization.
How could I create a 2D color map for such a purpose? I can convert intensity and polarization to RGB values without problem, what I need to know is how to actually code that up as something like a ColorMap. The best I've managed to do so far is to plot points individually, but that is horrendously slow. Is it possible to create a 2D color map (as opposed to the usual 1D)?