Re: [Matplotlib-users] showing an image on log axes?

2006-06-12 Thread John Pye
Hi John, The image is correct when plotted using i=imread('plot.png') then imshow(i), but I want to add axes. I generated the image directly using GTK commands, then saved the pixbuf as png. The pixels in the image correspond to sample points in both x- and y-directions generated using exp(linspac

Re: [Matplotlib-users] showing an image on log axes?

2006-06-12 Thread John Hunter
> "John" == John Pye <[EMAIL PROTECTED]> writes: John> Hi all, I have a PNG image that I would like to mount on John> log-log axes. The points in the image correspond to computed John> values on a log-log scale, so no scaling of the image is John> required: I just want to stick

[Matplotlib-users] showing an image on log axes?

2006-06-12 Thread John Pye
Hi all, I have a PNG image that I would like to mount on log-log axes. The points in the image correspond to computed values on a log-log scale, so no scaling of the image is required: I just want to stick it on top of suitably-marked axes. It would be great if I could then overlay some dot points

[Matplotlib-users] ImportError: cannot import name inverse_fft

2006-06-12 Thread Nils Wagner
matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data $HOME=/home/nwagner loaded rc file /home/nwagner/matplotlibrc matplotlib version 0.87.3 verbose.level helpful interactive is False platform is linux2 numerix numpy 0.9.9.2603 Traceback (most recent call last): File "casca

Re: [Matplotlib-users] [Numpy-discussion] ImportError: cannot import name inverse_fft

2006-06-12 Thread David M. Cooke
On Mon, 12 Jun 2006 09:02:54 +0200 Nils Wagner <[EMAIL PROTECTED]> wrote: > matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data > $HOME=/home/nwagner > loaded rc file /home/nwagner/matplotlibrc > matplotlib version 0.87.3 > verbose.level helpful > interactive is False > pla

Re: [Matplotlib-users] matplotlib, numpy, numarray

2006-06-12 Thread humufr
oki sorry for griddata it was my fault. After the mail on the list, I cleaned all precedent installation and now it's working fine with numpy... Thanks, N. Le samedi 10 juin 2006 13:45, Jeff Whitaker a écrit : > Eric Firing wrote: > > Thanks. There were in fact several points of incompatibil

Re: [Matplotlib-users] Problems with new colorbar

2006-06-12 Thread Eric Firing
Nikolai, >>What backends are you using? Some backends still need work to make them >>support this behavior. Agg, ps, and svg should be fine. > > > I'm using the GTK backend. I have fixed the GTK backend so that linewidth==0 prevents drawing of the boundaries, so colorbar works now. > I tri

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-12 Thread Fernando Perez
This shows the benefits of 'xmode verbose' :) There's enough info in that traceback to understand the problem: > /usr/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py in > print_figure(self= instance>, outfile='prova.eps', dpi=100.0, facecolor='white', > edgecolor='white', orientation

Re: [Matplotlib-users] tex-text problem

2006-06-12 Thread Wolfgang
Hi, I've changed back all my changes but: if exit_status: raise RuntimeError('dvipng was not able to \ RuntimeError: dvipng was not able to process the flowing file: C:\Documents and Settings\s0167070\.matplotlib\tex.cache\3bb1bc57100b0c65915bdda3a1f60dae.dvi Here is the full report generated

Re: [Matplotlib-users] tex-text problem

2006-06-12 Thread Wolfgang
Hello Darren, the & is also in my solution! and I always had to change "%s" to %s and I also added a 'c:' before the cd because " cd c:\temp\ " is not working when the command is starten from d: so finally I have: c: & cd %s & latex -interaction=nonstopmode %s ... But I thinks this is not eno

Re: [Matplotlib-users] tex-text problem

2006-06-12 Thread Darren Dale
Part of the problem is that DOS doesnt allow the semicolon to delimit multiple commands. I made a little bit of progress by changing every 'cd "%s"; ...' to 'cd "%s" & ...'. At that point, dvipng starts complaining about the dvifile not existing. The frustrating part is that I can copy that exac

Re: [Matplotlib-users] legend.numpoints: 1 ?

2006-06-12 Thread Ryan Krauss
I don't know the answer to your question exactly, but had some data like that and was very happy with numpoints=2. You could see if that is good enough for now. Ryan On 6/12/06, Wolfgang <[EMAIL PROTECTED]> wrote: > Hi, > > I want to display some measurement data as simple dots, and also a > mo

[Matplotlib-users] legend.numpoints: 1 ?

2006-06-12 Thread Wolfgang
Hi, I want to display some measurement data as simple dots, and also a modeled curve (solid line, no symbols). When I set legend.numpoints to one I get one dot displayed in my legend, but no solid line any more. Is it somehow possible to configure the legend behavior for each line separately?

Re: [Matplotlib-users] tex-text problem

2006-06-12 Thread Wolfgang
I have Miktex running. But finally dvipng had problems with the path which included spaces. Wolfgang Ryan Krauss schrieb: > Which LaTeX distribution are you using on windows? TexLive handles > paths much more poorly than MikTeX. > > On 6/12/06, Wolfgang <[EMAIL PROTECTED]> wrote: >> Finally I

Re: [Matplotlib-users] ImportError: cannot import name inverse_fft

2006-06-12 Thread Gary
Nils Wagner wrote: > matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data > $HOME=/home/nwagner > loaded rc file /home/nwagner/matplotlibrc > matplotlib version 0.87.3 > verbose.level helpful > interactive is False > platform is linux2 > numerix numpy 0.9.9.2603 > Traceback (

Re: [Matplotlib-users] tex-text problem

2006-06-12 Thread Ryan Krauss
Which LaTeX distribution are you using on windows? TexLive handles paths much more poorly than MikTeX. On 6/12/06, Wolfgang <[EMAIL PROTECTED]> wrote: > Finally I changed in matplotlib/__init__.py the evaluation of $HOME to a > path without spaces because all files are transfered to > $HOME.matpl

Re: [Matplotlib-users] tex-text problem

2006-06-12 Thread Wolfgang
Finally I changed in matplotlib/__init__.py the evaluation of $HOME to a path without spaces because all files are transfered to $HOME.matplotlib/tex.cache/ instead of $TEMP I also had to change in texmanager.py some of the "%s" to %s I think someone with more experience in programming should c

Re: [Matplotlib-users] OSError when exporting figure in EPS

2006-06-12 Thread massimo sandal
Thanks, Massimo, I'm away from my ubuntu machine right now, so I can't test this. In the meantime, try in ipython xmode verbose before running your code. This will generate a more detailed traceback, which might give us some clues. I noticed that I get the error only when I write on a FAT32

Re: [Matplotlib-users] Problems with new colorbar

2006-06-12 Thread Nikolai Hlubek
Hi Eric, hi everyone Eric Firing wrote: > Your example code has two calls to colorbar, but your sample png file > has only the result of the second. If I do this: One colorbar should have blue lines the other one should have black ones. I thought this bug is somehow related to the drawedges com

[Matplotlib-users] ImportError: cannot import name inverse_fft

2006-06-12 Thread Nils Wagner
matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data $HOME=/home/nwagner loaded rc file /home/nwagner/matplotlibrc matplotlib version 0.87.3 verbose.level helpful interactive is False platform is linux2 numerix numpy 0.9.9.2603 Traceback (most recent call last): File "casca