Re: [Matplotlib-users] Problems installing matplotlib

2007-06-28 Thread Edin Salkovic
Hi Alexander, On 6/28/07, Alexander Dietz <[EMAIL PROTECTED]> wrote: > Hi, > > I have problems installing matplotlib 0.90.1. An error occurs when doing > "python setup.py build": > > /usr/include/features.h:150:1: warning: this is the location of the previous > definition > src/_ns_backend_agg.cpp

[Matplotlib-users] Worked around -- Re: mathtext.mathtext2 KeyError

2007-06-28 Thread Steve Sweet
I successfully worked around the problem. Since the system OS is Centos, which is RedHat Enterprise built from the SRPMS, I grabbed the Fedora srpms for matplotlib and the associated dependencies, built and installed them. Since they were almost all python related it avoided the potential pr

Re: [Matplotlib-users] mathtext.mathtext2 KeyError

2007-06-28 Thread Steve Sweet
Hi Edin, If I try without a matplotlibrc file at all I get the same error. When I first installed I didn't have one other than the one installed by the distribution. I thought that might be the problem so I created one (and verified that it is actually being read) but I still get the errors.

Re: [Matplotlib-users] error on different mouse events

2007-06-28 Thread Matthias Michler
Hello darkside, I tried your example and it works for me (with mpl-svn) using GTKAgg and doesn't work (like you reported) using TKAgg (Is this a bug?). Maybe you can switch to GTKAgg? Otherwise you should report the mpl-version you are using. >- import matplot

[Matplotlib-users] error on different mouse events

2007-06-28 Thread darkside
Hello everyone, I'm trying to do a program that opens two different plots and select one point of each one with a mouse event. Here you have my example: -- import pylab def click(event): global x # allow to change global variable if event.button == 1:

[Matplotlib-users] Fwd: mouse events, get data and disconnect

2007-06-28 Thread darkside
Hello, I don't know what I'm doing wrong, but it don't work for me. I have to open different sets of data, plot it, select an initial point, make some calculations and save all the data. Each plot have a diferente initial point, so I thought of do this with a for sentences, opening each plot, doin

Re: [Matplotlib-users] export of a specific zone of a figure

2007-06-28 Thread John Hunter
On 6/28/07, Nicolas <[EMAIL PROTECTED]> wrote: > Thanks for your reply. > > However, I don't want to had a PIL dependency. > > Is there any other method, using only matplotlib or wx ? agg offers methods to convert the image pixel buffer to strings or buffers, which you could then convert to numpy

[Matplotlib-users] minor subplot and doc issues

2007-06-28 Thread Sven Schreiber
Hi mpl-ers, while working on some multiple subplots I noticed the following: 1) multiple subplots in a column overlap slightly (xticklabels and the following title), depending on font size I guess; is this known or how could this be fixed? 2) the set xticklabels example on p.27 of the current use

[Matplotlib-users] Problems installing matplotlib

2007-06-28 Thread Alexander Dietz
Hi, I have problems installing matplotlib 0.90.1. An error occurs when doing "python setup.py build": /usr/include/features.h:150:1: warning: this is the location of the previous definition src/_ns_backend_agg.cpp: In member function `Py::Object RendererAgg::write_png(const Py::Tuple&)': src/_ns

Re: [Matplotlib-users] export of a specific zone of a figure

2007-06-28 Thread Nicolas
Thanks for your reply. However, I don't want to had a PIL dependency. Is there any other method, using only matplotlib or wx ? Nicolas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE versio

Re: [Matplotlib-users] export of a specific zone of a figure

2007-06-28 Thread Lionel Roubeyrie
Le jeudi 28 juin 2007, Nicolas a écrit : > Hi, > > I would like to export a zone of a Figure in .png. > Something like figure.savefig("mypicture.png", box = (0,0,5,5)) > How may I proceed, without drawing all the plots again ? > I use wxagg. > Thanks, > > Nicolas > > ---

[Matplotlib-users] export of a specific zone of a figure

2007-06-28 Thread Nicolas
Hi, I would like to export a zone of a Figure in .png. Something like figure.savefig("mypicture.png", box = (0,0,5,5)) How may I proceed, without drawing all the plots again ? I use wxagg. Thanks, Nicolas - Ne gardez plus qu'une seule adresse mail ! Copiez

[Matplotlib-users] Custom symbols

2007-06-28 Thread kommandoz
Hello, I have been trying to plot using custom symbols. I tried three methods: 1) Using LineCollections to plot my own symbols based in a hack kindly provided by Christopher Barker. Problems: I can not plot the custom symbols in the legend as the normal markers. 2) Using the custom symbol option

Re: [Matplotlib-users] numpy and matrix operations

2007-06-28 Thread fred
Alexander Dietz a écrit : > Hi, > Hi, > I hope this is the right place to post this question, which is related > to numpy, or numeric or something else... I guess you should try scipy-user at scipy.org ml. Cheers, -- http://scipy.org/FredericPetit -

Re: [Matplotlib-users] numpy and matrix operations

2007-06-28 Thread Matthieu Brucher
I want to do some matrix operations, like a singular value decomposition (svd) or to calculate random number from the multivariate_normal distributions. These two functions exist in 'numeric', but I cannot use them (they hang up or give some errors). Maybe there is any package to download that is

[Matplotlib-users] numpy and matrix operations

2007-06-28 Thread Alexander Dietz
Hi, I hope this is the right place to post this question, which is related to numpy, or numeric or something else... I want to do some matrix operations, like a singular value decomposition (svd) or to calculate random number from the multivariate_normal distributions. These two functions exist

Re: [Matplotlib-users] multiple line title

2007-06-28 Thread Volker Lorrmann
Hi Dave, this is in fact simple as most things in the world, allthough finding the solution could be s hard ;) >>> title('This is the first line\n second:line') volker > Message: 4 > Date: Wed, 27 Jun 2007 15:02:51 -0600 > From: David D Clark <[EMAIL PROTECTED]> > Subject: [Matplotlib

[Matplotlib-users] Thightening the bounding box while exporting ?

2007-06-28 Thread David Cournapeau
Hi, Is there a simple way to tighten the bounding box of a figure while exporting to eg png or pdf ? For now, I am modifying the bounding box directly in the files, which is far from optimal. I would like to get less space between the bounding box and the axis when using subplot. ch