Re: [Matplotlib-users] color and transparency in overlapping regions

2010-04-14 Thread Matthias Michler
On Tuesday 13 April 2010 16:37:21 hettling wrote: Dear all, I want to plot 3 overlapping regions using fill() into one panel, but my solution looks sort of messy... Here is the code: [...snip...] The figure looks like 4 regions are plotted, because overlapping red and yellow make an orange

[Matplotlib-users] color and transparency in overlapping regions

2010-04-13 Thread hettling
Dear all, I want to plot 3 overlapping regions using fill() into one panel, but my solution looks sort of messy... Here is the code: === import matplotlib.pyplot as plt import scipy ##Data to plot seq = scipy.sin(range(0,10)) xpts = scipy.concatenate((range(0,10), range(0,10)[::-1]))