I need to find a way around the fact that by using the area command in MATLAB, the new plotted color on top of the previous color. Is there any way that the colors merge?
Take a look at the figures below, please.
area([1 2 3],'FaceColor','red');hold on
area([.5 .6 .7],'FaceColor','blue');hold on
But I want the colors red and blue merge and turn into what ever color it will, for example purple in this case.
P.S. I already know that I can simply use the purple color in the example above, but because my actual MATLAB program are couple of curves, and I need to also see the color beneath the upper colors, that's why I tried to put an easy example here.
I appreciate your help in advance.