triples, so how
exactly are these remapped to an RGB array? Thanks!
DG
--- On Tue, 9/9/08, David Goldsmith <[EMAIL PROTECTED]> wrote:
> From: David Goldsmith <[EMAIL PROTECTED]>
> Subject: Re: [Matplotlib-users] Next problem: pixel-to-pixel alpha variation
> To: matplotlib-users@l
example of how to do this? :-) Thanks!
DG
--- On Tue, 9/9/08, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> From: Michael Droettboom <[EMAIL PROTECTED]>
> Subject: Re: [Matplotlib-users] Next problem: pixel-to-pixel alpha variation
> To: [EMAIL PROTECTED]
> Cc: matplotlib-users@l
David Goldsmith wrote:
> Hi, folks. OK, I'm trying to set the alpha channel, pixel by pixel, using
> figimage w/ the data being of the "luminance" type (i.e., an MxN array). The
> Users Guide indicates that figimage takes an alpha= keyword argument, and it
> doesn't crash when I pass an array
On Tue, Sep 9, 2008 at 12:40 AM, David Goldsmith
<[EMAIL PROTECTED]> wrote:
> Clearly (?) I can do what I'm after if I use MxNx4 data, but is that the only
> way to have a varying alpha?
Yep, currently that is the only way. If you start with luminance, you
can use the colormapping code to gener