[Matplotlib-users] Two circles with "exponential decay" coloring, and alpha < 1, have trouble with color mixing on overlaps
bmer
bhmerchant at gmail.com
Thu Nov 19 19:48:16 EST 2015
Hi all,
In order to get circles such that their coloring is radially symmetric, with
center being the darkest, and exponential decay in color as one moves
farther away from the center along the radius, I used imshow with clip_path
using Circle patches.
Here's a toy script that overlaps two such circles:
https://gist.github.com/bmer/7063cc2dd09f1b80a252
As you can see if you run the script (or, if you follow this link:
http://i.imgur.com/H9jEAZ3.png <http://i.imgur.com/H9jEAZ3.png> ), even
though the alpha is set at 0.5, there doesn't seem to be proper "color
mixing" occurring (we should see a result that is symmetric along the
x-axis).
Why is that, and what could I do to fix this issue?
Kind regards,
Brian
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Two-circles-with-exponential-decay-coloring-and-alpha-1-have-trouble-with-color-mixing-on-overlaps-tp46455.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
More information about the Matplotlib-users
mailing list