Re: [Matplotlib-users] "N" parameter of LinearSegmentedColormap

2012-11-26 Thread TP
On Monday, November 26, 2012 14:10:31 Eric Firing wrote: > But how many colors can you actually distinguish on the screen, or in a > plot? My impression is that the problem is not lack of colors, but > rather mapping to the color you want. There is no reason that having a > value in your *data* of

Re: [Matplotlib-users] "N" parameter of LinearSegmentedColormap

2012-11-26 Thread Eric Firing
On 2012/11/26 12:18 PM, TP wrote: > On Monday, November 26, 2012 12:06:40 Eric Firing wrote: >> I'm glad you found a solution, but my sense is that the problem is that >> you are trying to make the colormap do the work of the norm. The >> colormap is just a set of discrete colors, with a linear ma

Re: [Matplotlib-users] "N" parameter of LinearSegmentedColormap

2012-11-26 Thread TP
On Monday, November 26, 2012 12:06:40 Eric Firing wrote: > I'm glad you found a solution, but my sense is that the problem is that > you are trying to make the colormap do the work of the norm. The > colormap is just a set of discrete colors, with a linear mapping to the > 0-1 scale (apart from th

Re: [Matplotlib-users] matplot3d: add_collection3d: Turn off baseline?

2012-11-26 Thread Benjamin Root
On Tue, Nov 20, 2012 at 8:12 PM, Stephen Gibson wrote: > Ok. Adding an NaN as the last data point did not help. > > However, I notice that the return path is two segments that go through > (0,0). > > i.e. the baseline (or return) path may actually start/finish at (0,0) > > The attached image shows

Re: [Matplotlib-users] "N" parameter of LinearSegmentedColormap

2012-11-26 Thread Eric Firing
On 2012/11/26 11:37 AM, TP wrote: > On Thursday, November 22, 2012 23:51:08 TP wrote: >> Thus it seems to me that my dummy example given in the previous post covers >> exactly the problem encountered in my real-world imshow function. >> >> Is there a memory-efficient workaround in my dummy example

Re: [Matplotlib-users] "N" parameter of LinearSegmentedColormap

2012-11-26 Thread TP
On Thursday, November 22, 2012 23:51:08 TP wrote: > Thus it seems to me that my dummy example given in the previous post covers > exactly the problem encountered in my real-world imshow function. > > Is there a memory-efficient workaround in my dummy example (instead of > increasing N)? I have mo

Re: [Matplotlib-users] Why is pip not mentioned in the Installation Documentation?

2012-11-26 Thread Russell E. Owen
In article <955a698f5edf4fbb9168429b718f5...@gmail.com>, Ludwig Schwardt wrote: > Pip works beautifully on the Mac since Lion, once you install pkg-config. > This allows matplotlib to pick up the dependencies from the system (i.e. > libpng, libfreetype and zlib) I had not heard of pkg-c

Re: [Matplotlib-users] svg/image output

2012-11-26 Thread Benjamin Root
On Wed, Nov 21, 2012 at 6:00 PM, Jeffrey Melloy wrote: > I'm currently using matplotlib to generate .PNG files, and the > javascript library flot to do point hover & zooming on the same data > (after click through). Flot is starting to show its age, and I'd like > a little more control. > > I'd