Re: [Matplotlib-users] consistent colors between imshow and scatter

2009-06-05 Thread Karl Young
hmmm... in response to John's earlier request I cobbled a simple example but that seems to work; either there's a strange error in the more complex version or my misunderstanding of color maps is messing with me. Anyway, for the record, here's an example of what I want to do (that actually see

[Matplotlib-users] consistent colors between imshow and scatter

2009-06-05 Thread Karl Young
I have 2 float arrays of the same dimension which I use to generate a 3rd array, again of the same dimension, containing integers from a small set (I obtain the 3rd array via clustering in the 2 dimensional space of points obtained as values from the same location in the initial 2 arrays). I'd