matlab – overlap between two patch plots – Education Career Blog

I have two patch plots on the same graph. One is red and the other blue. Is it possible to make the overlap purple?

,

See the alpha() function, for setting transparency for objects in current axes. alpha() on the MathWorks online help.

,

Simplest way might be just to alter the alpha component of one or other patches.

Leave a Comment