Brian
Brian

Reputation: 27422

overlap between two patch plots

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

Upvotes: 1

Views: 1030

Answers (2)

Eric Towers
Eric Towers

Reputation: 4215

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

Upvotes: 3

Oliver Charlesworth
Oliver Charlesworth

Reputation: 272802

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

Upvotes: 0

Related Questions