|
From: Damon M. <dam...@gm...> - 2012-08-08 21:49:30
|
On Wed, Aug 08, 2012 at 05:22:49PM -0400, Tony Yu wrote: > On Wed, Aug 8, 2012 at 4:34 PM, Gustavo Goretkin <gus...@gm... > > wrote: > > > I can use the scatter function to plot an array of points and give a > > corresponding array of colors to set those points. Is it possible to > > do the same thing with alpha values? > > > You can use a colormap with varying alpha values. Would it be possible to do something like ax.plot(x, y, color=[c1, c2, c3], alpha=[a1, a2, a3])? It doesn't seem that it's supported and that would be the 'natural' extension, in some sense. -- Damon McDougall http://damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |