Re: [Matplotlib-users] Axes other than pixels with imshow

2008-09-21 Thread Eric Firing
G Jones wrote: > Hello, > Is it possible to label the axes of an imshow plot with something other > than pixel number? I want to use imshow for speed, but also would like > to be able to put arbitrary X and Y axes vectors on, as in pcolor(x,y,z) > Thanks, > Glenn Using the extent kwarg, you can

[Matplotlib-users] Axes other than pixels with imshow

2008-09-21 Thread G Jones
Hello, Is it possible to label the axes of an imshow plot with something other than pixel number? I want to use imshow for speed, but also would like to be able to put arbitrary X and Y axes vectors on, as in pcolor(x,y,z) Thanks, Glenn --

[Matplotlib-users] bug in SVG backend?

2008-09-21 Thread Dmitri Kolobov
Hello, I am a beginner in matplotlib. I am trying to get pretty svg output, but it does not work the way I want it to :) The bitmap image in svg file does not match the axes box. For example please see the code below or image_demo.py from matplotlib sources. The bitmap overlaps axes box about 2

Re: [Matplotlib-users] About plot(..., linewidth=...), granularity and alpha

2008-09-21 Thread Eric Firing
Laurent Dufrechou wrote: > Hello all, > > I’m playing with FFT currently. > > Here is the display under scilab (from wich I’m proting the code to > matplotlib) > > > > And the display under matplotlib : > > > > Display under matplotlib is done via: plot(freq, > abs(FreqI[0:len(FreqI)/2+

Re: [Matplotlib-users] how to close (complitly destroy) pylab figure?

2008-09-21 Thread John Hunter
On Sun, Sep 21, 2008 at 3:28 PM, dmitrey <[EMAIL PROTECTED]> wrote: > Hi all, > how to close (complitly destroy) pylab figure? > > The feature is highly required for my module "openopt". > > I expected something like this will work but it doesn't Could you be more precise about what you mean when

[Matplotlib-users] how to close (complitly destroy) pylab figure?

2008-09-21 Thread dmitrey
Hi all, how to close (complitly destroy) pylab figure? The feature is highly required for my module "openopt". I expected something like this will work but it doesn't from pylab import * ion() plot([1, 2, 3, 4], [1, 2, 3, 4]) draw() # optional: ioff(); doesn't help as well close('all') Thank yo

Re: [Matplotlib-users] py2exe with pylab

2008-09-21 Thread Laurent Dufréchou
Had the same problem, solved with the setup.py attached ;) Just modify it to fit your needs, should be a good start. Works under vista + matplotlib 0.98.3 Cheers Laurent > -Message d'origine- > De : Ron Adelman [mailto:[EMAIL PROTECTED] > Envoyé : samedi 20 septembre 2008 23:17 > À : matpl

[Matplotlib-users] py2exe with pylab

2008-09-21 Thread Ron Adelman
I followed the thread in Sept 2007 that covers the same problem I am having, but it seems to just end without a solution. I have attached the setup file I am using. When my application is packaged, installed and I try to get my graph I get the following message. The graph works fine while I a