Re: [Matplotlib-users] problem with design of matplotlib.pyplot.scatter?

2009-09-30 Thread Eric Firing
> - I don't follow what the snippet of code below is doing: > >if cbook.iterable(value): >vtype = 'array' >val = ma.asarray(value).astype(np.float) >else: >vtype = 'scalar' >val = ma.array([value]).astype(np.float) > The idea is th

Re: [Matplotlib-users] problem with design of matplotlib.pyplot.scatter?

2009-09-30 Thread Eric Firing
Phillip M. Feldman wrote: > Hello Eric- > > I've looked at the code in colors.py. I think that I'm starting to > understand what's going on, but I'm unclear about a few things. In > particular: > > - Why do we need to define both forward and reverse transformations? > Shouldn't the forward

Re: [Matplotlib-users] problem with design of matplotlib.pyplot.scatter?

2009-09-30 Thread Phillip M. Feldman
Hello Eric- I've looked at the code in colors.py. I think that I'm starting to understand what's going on, but I'm unclear about a few things. In particular: - Why do we need to define both forward and reverse transformations? Shouldn't the forward transformation be sufficient? - I don't f

Re: [Matplotlib-users] problem with design of matplotlib.pyplot.scatter?

2009-09-30 Thread Eric Firing
Dr. Phillip M. Feldman wrote: > I'd like to generate a scatter plot in which symbols are colored using a > specified colormap, with a specified mapping from the range of the data to > the [0,1] colormap interval. I thought at first that one could use the norm > argument to specify a function that w

[Matplotlib-users] problem with design of matplotlib.pyplot.scatter?

2009-09-30 Thread Dr. Phillip M. Feldman
I'd like to generate a scatter plot in which symbols are colored using a specified colormap, with a specified mapping from the range of the data to the [0,1] colormap interval. I thought at first that one could use the norm argument to specify a function that would perform this mapping, but from c