[Matplotlib-users] save plot as tiff wtih CMYK color model

2009-12-10 Thread Marius Jan Klein
I use to save my plots as tiff. The color model of these plots is RGB. Can I change it to CMYK? -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev __

Re: [Matplotlib-users] mark invalid pixels in image

2009-12-10 Thread Eric Firing
markus.proel...@ifm.com wrote: > > Hello, > > let's say I have given an image of distance values, which I display with > the jet colormap. Now if there are invalid pixels within the image they > have the value -1 or -2. Is there a way to display just the "valid" > image with the jet colorbar a

Re: [Matplotlib-users] Regression in scatter plot?

2009-12-10 Thread Pierre de Buyl
Hello, According to http://matplotlib.sourceforge.net/api/ pyplot_api.html#matplotlib.pyplot.scatter , the keyword argument that takes an array to specify the colors of the individual markers is c. color is interpreted as a color to give to all markers at once. The following works on my comp

[Matplotlib-users] Regression in scatter plot?

2009-12-10 Thread Yannick Copin
Hi, according to the documentation, scatter should accept a 1D float array for color kwarg. Therefore, I thought the following code would work (and I think it worked at some point in the past; I'm currently using matplotlib 0.99.0): import numpy as N from matplotlib import pyplot as P x = N.ra

Re: [Matplotlib-users] Saving a plot to EPS

2009-12-10 Thread Michael Cohen
Thanks, the svn version is working nicely. Cheers Mike On 12/09/2009 01:21 PM, Michael Droettboom wrote: > I can confirm this bug on matplotlib-0.99.0, and 0.99.1.2, but not on > SVN head. I think this is related to a recently fixed bug involving the > renderer outputting single-point lines (whic

[Matplotlib-users] mark invalid pixels in image

2009-12-10 Thread markus . proeller
Hello, let's say I have given an image of distance values, which I display with the jet colormap. Now if there are invalid pixels within the image they have the value -1 or -2. Is there a way to display just the "valid" image with the jet colorbar and the -1 pixels as white pixels and the -2 pi