Re: [Matplotlib-users] [newbie] live plots of multiple lines

2008-03-27 Thread Matthias Michler
On Wednesday 26 March 2008 19:39, Chris Withers wrote: Matthias Michler wrote: My x-axis is time, and as new points are plotted, even though I'm following the above recipe pretty closely, the x-tick spacing isn't getting sorted out, so I end up with just a jumble as the tick labels for

Re: [Matplotlib-users] Fwd: load data from string or array to Image

2008-03-27 Thread Anthony Floyd
On Wed, Mar 26, 2008 at 10:38 PM, sa6113 [EMAIL PROTECTED] wrote: I use matplotlib and Backend Agg to draw a plot , I want to show this plot in my GUI in specific area (Plot area) , I need to have the image object in [snip] Is it clear? Not to me :) Do you mean that you've already

Re: [Matplotlib-users] Not scaling properly? Am I doing something wrong?

2008-03-27 Thread KURT PETERS
Forget it. I was putting lat/long instead of long/lat. Regards, Kurt - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source.

Re: [Matplotlib-users] Not scaling properly? Am I doing something wrong?

2008-03-27 Thread Jeff Whitaker
KURT PETERS wrote: I'm trying what I thought was a simple test and getting bad results. I am taking some lat long coords, and feeding it into a map. The conversion is not giving real values that can be plotted on a map (and actually produces an error when I use annotate). I'm including

Re: [Matplotlib-users] Basemaps - shapefile import/display for points

2008-03-27 Thread KURT PETERS
And, before someone asks, Why are you using h and this line: h= [seg[0]*0.000278,seg[1]*0.000278] ax.annotate(seqnum[nshape],h), I was using this, instead, but tried to experiment with things to try to make things work right: ax.annotate(seqnum[nshape],seg) . I usually

Re: [Matplotlib-users] [newbie] live plots of multiple lines

2008-03-27 Thread Chris Withers
Matthias Michler wrote: the above script leads to a different behaviour on my system. What is that behaviour and what version of matplotlib are you using? I think it is the expected behaviour. The number of xtick is aproximately constant and some tick get sorted out, when the xlimits are

[Matplotlib-users] Setting font family in ticks not possible. Bug?

2008-03-27 Thread Gerolf Ziegenhain
Dear Mailinglist, Today I tried to change the fontset to sans-serif for a whole plot. Everything except the ticks could be adjusted. This is what I tried first: *** ffont = {'size':'20','family':'sans-serif'} xticks(**ffont)

Re: [Matplotlib-users] [newbie] live plots of multiple lines

2008-03-27 Thread Matthias Michler
Hello Chris, On Thursday 27 March 2008 12:22, Chris Withers wrote: Matthias Michler wrote: the above script leads to a different behaviour on my system. What is that behaviour and what version of matplotlib are you using? I think it is the expected behaviour. The number of xtick is

Re: [Matplotlib-users] Setting font family in ticks not possible. Bug?

2008-03-27 Thread Michael Droettboom
Gerolf Ziegenhain wrote: Dear Mailinglist, Today I tried to change the fontset to sans-serif for a whole plot. Everything except the ticks could be adjusted. This is what I tried first: *** ffont = {'size':'20','family':'sans-serif'}

Re: [Matplotlib-users] [wxpython-users] Controlling the wxpython matplotlib-frame

2008-03-27 Thread Laurent Dufrechou
Have you tryied : ipython -pylab ? It launch an ipython shell that support mathplotlib gui loop. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] De la part de Wolfgang Kerzendorf Envoyé : mercredi 26 mars 2008 08:31 À : matplotlib-users@lists.sourceforge.net; [EMAIL

Re: [Matplotlib-users] [newbie] live plots of multiple lines

2008-03-27 Thread Chris Withers
Matthias Michler wrote: I'm not sure that I understand you correctly. The code I refering is the one which I attached some mails ago. The following works for me: Ah, okay, to get the problem I was having, change your script as follows:

Re: [Matplotlib-users] Setting font family in ticks not possible. Bug?

2008-03-27 Thread Gerolf Ziegenhain
More complete: I tried all permunations of backends. Now I stick to PS, because I use matplotlib from commandline with scripts. The environment is debian/etch with a current version of matplotlib (self compiled). Try this script from pylab import * t

Re: [Matplotlib-users] unicode filenames and MPL.

2008-03-27 Thread Christopher Barker
Michael Droettboom wrote: I think the real reason this wasn't done is that its tricky to do at the C level in a cross-platform way. At present it uses the regular POSIX fopen in C, which isn't really Unicode aware. The actual error is from trying to put the filename in a std::string, but

Re: [Matplotlib-users] saving a PNg jsut as dispalyed

2008-03-27 Thread Christopher Barker
Ryan Krauss wrote: I think this line in the rc file is the trick #savefig.dpi : 100 nope. I think all that does is set the default dpi for savefig. I don't want any default, I want it to use the same dpi that is being used for display, and I don't know ahead of time what that is, I

Re: [Matplotlib-users] Setting font family in ticks not possible. Bug?

2008-03-27 Thread Darren Dale
On Thursday 27 March 2008 01:27:28 pm Gerolf Ziegenhain wrote: More complete: I tried all permunations of backends. Now I stick to PS, because I use matplotlib from commandline with scripts. The environment is debian/etch with a current version of matplotlib (self compiled). Try this script

Re: [Matplotlib-users] saving a PNg jsut as dispalyed

2008-03-27 Thread Ryan Krauss
I guess you could read the rcParams value that corresponds to the screen display and set rcParams['savefig.dpi'] to that value (this might work): mydpi = rcParams['figure.dpi'] rcParams['savefig.dpi'] = mydpi But that seems slightly hackish and maybe not much more elegant than what you are

Re: [Matplotlib-users] [Pythonmac-SIG] py2app and matplotlib

2008-03-27 Thread Christopher Barker
Ronald Oussoren wrote: That load command is for LC_UUID. The version of macholib in subversion should have some support that is (basicly ignoring the entire load command because macholib won't have to change it), could you test that (easy_install macholib==dev)? Yup, that problem is

[Matplotlib-users] Zero length quiver/savefig bug

2008-03-27 Thread Andrew Charles
Quiver doesn't seem to be able to handle begin passed zeros for the vector lengths. The full error output is below. I'm running Leopard with macpython 2.5.2 using matplotlib-0.91.2-py2.5-macosx-10.3-i386.egg The following code does not work: rx = numpy.array([0.0,0.0]) ry =

[Matplotlib-users] scipy, matplotlib import errors

2008-03-27 Thread John
Hello, could someone please help me understand a strange problem, possibly associated with PYTHONPATH. When I import matplotlib, pylab, or scipy from any directory other than the root installation directory, it fails. However, if I'm in the python installation directory there are no errors. Thanks