I have a figure which contains two patches of different colors with the axis in a specific background color. When these two patches are overlaid on each other with 'Erasemode' property set to 'Xor', i observe a new color at the intersection of the two patches. I wish to understand the arithmetic behind the computation of this color and how the background is taken into consideration.
Please find the attached file 'trial.m'.
Best Answer