Re: [Matplotlib-users] [matplotlib-devel] ANN: mpltools 0.1 release

2012-07-17 Thread todd rme
On Wed, Jul 11, 2012 at 5:23 PM, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com wrote: Well, as Ben said, that error fill plot is neato! It doesn't look too complicated, either. I'd be more than happy to port it over later

[Matplotlib-users] HSL image (?)

2012-07-17 Thread Yannick Copin
Hi List, Short question: is there any (simple) way to generate spectral images such as the ones in http://astro.u-strasbg.fr/~koppen/discharge/ ? Long version: say I have 1D-array l, which I would like to visualize as the L component of an HSL image, where the HS component would e.g. come

Re: [Matplotlib-users] [matplotlib-devel] ANN: mpltools 0.1 release

2012-07-17 Thread Benjamin Root
On Tue, Jul 17, 2012 at 6:25 AM, todd rme toddrme2...@gmail.com wrote: On Wed, Jul 11, 2012 at 5:23 PM, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com wrote: Well, as Ben said, that error fill plot is neato! It doesn't

Re: [Matplotlib-users] HSL image (?)

2012-07-17 Thread Benjamin Root
On Tue, Jul 17, 2012 at 8:12 AM, Yannick Copin yannick.co...@laposte.netwrote: Hi List, Short question: is there any (simple) way to generate spectral images such as the ones in http://astro.u-strasbg.fr/~koppen/discharge/ ? Long version: say I have 1D-array l, which I would like to

Re: [Matplotlib-users] [matplotlib-devel] ANN: mpltools 0.1 release

2012-07-17 Thread Damon McDougall
On Tue, Jul 17, 2012 at 08:21:50AM -0500, Benjamin Root wrote: On Tue, Jul 17, 2012 at 6:25 AM, todd rme toddrme2...@gmail.com wrote: On Wed, Jul 11, 2012 at 5:23 PM, John Hunter jdh2...@gmail.com wrote: On Wed, Jul 11, 2012 at 10:09 AM, Damon McDougall damon.mcdoug...@gmail.com

Re: [Matplotlib-users] path effects question

2012-07-17 Thread Jae-Joon Lee
I think it is me who put that code there. But I cannot recall why I did it. I may have copied that behavior from other code, but cannot find which. Yes, I agree that the current behavior is not very desirable. So, anyone who have an idea how this should behave, please go ahead and fix this.

Re: [Matplotlib-users] HSL image (?)

2012-07-17 Thread Yannick Copin
On 07/17/2012 03:32 PM, Benjamin Root wrote: Short question: is there any (simple) way to generate spectral images such as the ones in http://astro.u-strasbg.fr/~koppen/discharge/ http://astro.u-strasbg.fr/%7Ekoppen/discharge/ ? I have a 1st version of what I had in mind:

Re: [Matplotlib-users] Why does contourf with the extend argument tweak the data limits?

2012-07-17 Thread Eric Firing
On 2012/07/09 7:33 AM, Brendan Barnwell wrote: On 2012-07-09 06:13, Benjamin Root wrote: On Sun, Jul 8, 2012 at 9:04 PM, Brendan Barnwellbrenb...@brenbarn.netwrote: cs = pyplot.contourf(x,y,z,levels=np.arange(50, 220, 20), cmap=pyplot.cm.jet, extend='both') cs.cmap.set_under('k')

[Matplotlib-users] mimic alpha (channel) v0.1

2012-07-17 Thread Jonathan Slavin
Francesco, While I like your solution, there is an alternative that is simpler and works for me. That is 1) save matplotlib plot as a png, 2) convert to eps using either ImageMagick or GraphicsMagick. You do end up with relatively large files, but they look identical to the original plots.

Re: [Matplotlib-users] mimic alpha (channel) v0.1

2012-07-17 Thread Benjamin Root
On Tue, Jul 17, 2012 at 3:01 PM, Jonathan Slavin jsla...@cfa.harvard.eduwrote: Francesco, While I like your solution, there is an alternative that is simpler and works for me. That is 1) save matplotlib plot as a png, 2) convert to eps using either ImageMagick or GraphicsMagick. You do end

Re: [Matplotlib-users] Accelerating PDF saved plots

2012-07-17 Thread Gökhan Sever
There is one issue I spotted in this code. Although hard to notice from the produced plot, only the latest grid is updated when set_ydata is called. So a slight modification makes this code running correctly as originally intended. L1list = [] L2list = [] for i in range(nums): for j in