Re: [Matplotlib-users] Floating exception when rendering ylabel()

2007-01-26 Thread Andrew Straw
You may be encountering this bug: http://code.astraw.com/debian_sarge_libc.html John T Whelan wrote: > I just installed matplotlib 0.87.5 and numpy 1.0 from source on my > Debian "sarge" (stable release) system. (I chose those versions > because they're the ones currently included in the testing

[Matplotlib-users] Floating exception when rendering ylabel()

2007-01-26 Thread John T Whelan
I just installed matplotlib 0.87.5 and numpy 1.0 from source on my Debian "sarge" (stable release) system. (I chose those versions because they're the ones currently included in the testing "etch" release.) Everything I've tried has worked *except* the ylabel() command. Whenever a plot containin

Re: [Matplotlib-users] Ipython and python2.5

2007-01-26 Thread Fernando Perez
On 1/25/07, Alan G Isaac <[EMAIL PROTECTED]> wrote: > On Wed, 24 Jan 2007, Fernando Perez apparently wrote: > > Let us know if this is not enough or if you have any other issues. > > How about for Windows users? You list as dependencies: > > # PyWin32 from http://starship.python.net/crew/mhammond

[Matplotlib-users] svg doesn't seem to honour alpha channel.

2007-01-26 Thread George Nurser
I'm trying to work out a way of printing plots as vector graphics that use alpha channel. I understand that postscript doesn't do alpha, so I was hoping to save the plot as svg, import into illustrator and then save as a pdf and/or print. So I run the following file: (matplotlib svn 2943, os x,

Re: [Matplotlib-users] pylab.psd without plot

2007-01-26 Thread John Hunter
> "Lars" == Lars Friedrich <[EMAIL PROTECTED]> writes: Lars> Hello, how can I use the pylab.psd-function without a Lars> matplotlib-Plot-figure popping up? >From matplotlib.mlab import psd JDH - Take Surveys. E

Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread Jay Parlar
On 1/26/07, John Hunter <[EMAIL PROTECTED]> wrote: > > "Jay" == Jay Parlar <[EMAIL PROTECTED]> writes: > > Jay> That's the problem, I believe. 'imread' in mpl always reads > Jay> images in as MxNx4, while Matlab will check if the image is > Jay> B&W and just do MxN. Is there any wa

[Matplotlib-users] pylab.psd without plot

2007-01-26 Thread Lars Friedrich
Hello, how can I use the pylab.psd-function without a matplotlib-Plot-figure popping up? Thanks Lars -- Dipl.-Ing. Lars Friedrich Optical Measurement Technology Department of Microsystems Engineering -- IMTEK University of Freiburg Georges-Köhler-Allee 102 D-79110 Freiburg Germany phone: +49-

Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread John Hunter
> "Jay" == Jay Parlar <[EMAIL PROTECTED]> writes: Jay> That's the problem, I believe. 'imread' in mpl always reads Jay> images in as MxNx4, while Matlab will check if the image is Jay> B&W and just do MxN. Is there any way to force MxN behaviour Jay> in mpl? No way currently,

Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread Jay Parlar
On 1/26/07, John Hunter <[EMAIL PROTECTED]> wrote: > > "Darren" == Darren Dale <[EMAIL PROTECTED]> writes: > > Darren> vmin and vmax dont seem to have any effect on the > Darren> resulting image, at least on my machine with the most > Darren> recent svn. > > I haven't looked at his

Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread John Hunter
> "Darren" == Darren Dale <[EMAIL PROTECTED]> writes: Darren> vmin and vmax dont seem to have any effect on the Darren> resulting image, at least on my machine with the most Darren> recent svn. I haven't looked at his data or the output if fftshift. if vmin and vmax do nothing, m

Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread Darren Dale
On Friday 26 January 2007 11:14, John Hunter wrote: > > "Jay" == Jay Parlar <[EMAIL PROTECTED]> writes: > > Jay> One issue might be the use of "minAmp" and "maxAmp" in the > Jay> Matlab code, and no equivalent in the Python. I thought maybe > Jay> the vmin/vmax arguments to 'imshow'

[Matplotlib-users] Sliders: only update funtion on button_release_event

2007-01-26 Thread Martin Richter
Hello everyone, I was playing around with this /examples/widgets/sliders.py and thought about how to use it in my case. I'd like to controll a parameter which - if changed - starts a calculation which last about some seconds. So dragging=False would be exactly what I'm looking for! But on the

Re: [Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread John Hunter
> "Jay" == Jay Parlar <[EMAIL PROTECTED]> writes: Jay> One issue might be the use of "minAmp" and "maxAmp" in the Jay> Matlab code, and no equivalent in the Python. I thought maybe Jay> the vmin/vmax arguments to 'imshow' might work, but they Jay> don't make much of a differenc

[Matplotlib-users] Why so different from Matlab to matplotlib (fft2 question)?

2007-01-26 Thread Jay Parlar
I'm trying to learn about 2D fourier transforms and k-space right now. To do this, I'm using the image at http://django.jayparlar.com/4kSnake.png In Matlab, I run the following code: Im = double(imread('4kSnake.png')); FT = fftshift(fft2(Im)); FT_Amp = abs(FT); minAmp = min(min(FT_Amp)); maxAmp =

Re: [Matplotlib-users] object-oriented interface

2007-01-26 Thread John Hunter
> "Jonathon" == Jonathon Anderson <[EMAIL PROTECTED]> writes: Jonathon> Could someone point me to documentation of the oo Jonathon> interface? Everything seems to reference pylab (even Jonathon> examples that say they're for the oo interface). http://matplotlib.sourceforge.net/f

[Matplotlib-users] accentued characters error, superscript error

2007-01-26 Thread Lionel Roubeyrie
Hi, using Agg, there's problems exporting plots in pdf format, all accentued characters are not displayed (like u'accentué'), but they are in svg files. In svg files, superscript characters are set to subscript (using TeX notation). Is there solutions to these problems? thanks -- Lionel Roubey

Re: [Matplotlib-users] bar charts (Margherita Vittone wiersma)

2007-01-26 Thread Yannick Copin
Hi, > i have made bar charts but I was wondering if there is a way to show > on top of each bar the real content/counts, like a label; I generate > static plots so the dynamic showing of the counts on focusing on the > bar does not help me. Cannot you just add the counts manually? E.g. x,y = ara

Re: [Matplotlib-users] Ipython and python2.5

2007-01-26 Thread Dave
Alan G Isaac <[EMAIL PROTECTED]> writes: > So I installed PyWin32 as above, and PyReadline. I do NOT > see IPython in my Start Menu nor when I look at > Install/Uninstall programs. I do see an IPython folder in > Lib/site-packages, so I guessed I should call Shell.py, but > this is either a