Re: [Matplotlib-users] mathtext.mathtext2 KeyError

2007-06-27 Thread Edin Salkovic
Hi Steve, On 6/27/07, Steve Sweet <[EMAIL PROTECTED]> wrote: > Hi, > > I've installed matplotlib-0.90.1 on a Centos 5.0 box (Centos is > identical to RedHat Enterprise). One of my users is running a script > that previously worked with matplotlib on another system. I'm seeing > the following err

Re: [Matplotlib-users] viewing an image cube / sequence with imshow

2007-06-27 Thread Jason Addison
Thanks John and Angus. I can't wait to try out your recommendations. I'm upgrading my system at the moment, so I'm not able to try them out just now. It is promising that matplotlib seems to be able to handle this pretty easily. -

[Matplotlib-users] export of a zone in png

2007-06-27 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 ! Copie

Re: [Matplotlib-users] multiple line title

2007-06-27 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Fred, That did the trick. I thought I had tried that and it failed. I must have made a typo. Thanks, Dave fred wrote: > David D Clark a écrit : >> Is there a way to make a multiple line title? I have looked through the >> documentation and goo

Re: [Matplotlib-users] multiple line title

2007-06-27 Thread fred
David D Clark a écrit : > Is there a way to make a multiple line title? I have looked through the > documentation and googled, but have not found an answer. I would like > something that looks like this > > This is the first line > second:line > title('This is the first line\nsecond:line'

[Matplotlib-users] multiple line title

2007-06-27 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Folks, Is there a way to make a multiple line title? I have looked through the documentation and googled, but have not found an answer. I would like something that looks like this This is the first line second:line Thanks, Dave - -- Dav

[Matplotlib-users] mathtext.mathtext2 KeyError

2007-06-27 Thread Steve Sweet
Hi, I've installed matplotlib-0.90.1 on a Centos 5.0 box (Centos is identical to RedHat Enterprise). One of my users is running a script that previously worked with matplotlib on another system. I'm seeing the following errors [Wed Jun 27 12:25:17 2007] [error] [client 10.0.0.92] PythonHandle

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

2007-06-27 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] how to find window that generated an event

2007-06-27 Thread Brian T.N. Gunney
On Wed, Jun 27, 2007 at 11:40:39AM -0500, John Hunter wrote: > On 6/27/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote: > > ># Process key presses. > >def on_key(event): > >if event.key=='w': > ># Close current window. > ># How do we control which window gets

Re: [Matplotlib-users] how to find window that generated an event

2007-06-27 Thread John Hunter
On 6/27/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote: > # Process key presses. > def on_key(event): > if event.key=='w': > # Close current window. > # How do we control which window gets closed? > close() The event has a canvas attribute,

Re: [Matplotlib-users] a patch in matplotlib/__init__.py about get_py2exe_datafiles function

2007-06-27 Thread Andrew Straw
Hi Tocer, Thanks for the patch to matplotlib/__init__.py. I changed an obvious issue ('.nil' to '.nib'), but otherwise committed it as-is. Can you (or Werner, who was also having this issue) test the current svn version (>=3418) and report back? Cheers! Andrew tocer wrote: Hi, matplotlib devel

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-27 Thread Matthias Michler
Hello everybody, in my last version I forgot to include a very useful function (it is comparable with the 'Button.on_clicked' function). I added it now. It allows the user to interact with other widgets ( I needed it to interact with the Silder) or his own program (e.g. updating external values

Re: [Matplotlib-users] matplotlib-users@lists.sourceforge.net

2007-06-27 Thread Ryan Krauss
Sorry, forgot to copy the list. On 6/27/07, Ryan Krauss <[EMAIL PROTECTED]> wrote: > I think what you are asking is how to make mpl plot different line > types in colors and styles that are easily distinguishable when > plotted in grayscale. I had tinkered with this a bit in the past and > the fi

Re: [Matplotlib-users] how to find window that generated an event

2007-06-27 Thread Brian T.N. Gunney
On Wed, Jun 27, 2007 at 09:16:09AM -0500, John Hunter wrote: > On 6/26/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote: > >I have a matplotlib script that generates several figures. > >When a figure receives an event, how do I know which figure > >it did it? For example, the key event 'w' is meant

Re: [Matplotlib-users] how to find window that generated an event

2007-06-27 Thread John Hunter
On 6/26/07, Brian T.N. Gunney <[EMAIL PROTECTED]> wrote: > I have a matplotlib script that generates several figures. > When a figure receives an event, how do I know which figure > it did it? For example, the key event 'w' is meant to close > the figure, but so far, I have no way to control which

[Matplotlib-users] how to find window that generated an event

2007-06-27 Thread Brian T.N. Gunney
I have a matplotlib script that generates several figures. When a figure receives an event, how do I know which figure it did it? For example, the key event 'w' is meant to close the figure, but so far, I have no way to control which figure gets closed. In the pick_event_demo.py example, each fig

Re: [Matplotlib-users] viewing an image cube / sequence with imshow

2007-06-27 Thread John Hunter
On 6/27/07, John Hunter <[EMAIL PROTECTED]> wrote: > Here is a simple example showing how to do this -- we could add > support for this in a built-in function. It would be nice if we > encapsulated the scroll mouse in our event handling, since the scroll > is the natural way to browse these image

Re: [Matplotlib-users] viewing an image cube / sequence with imshow

2007-06-27 Thread John Hunter
On 6/26/07, Jason Addison <[EMAIL PROTECTED]> wrote: I would like to view a 3D array (or a python list of 2D arrays) as a sequence of images using something like imshow. For example, something like this: imshow(rand(6,12,12), imagecube=true) Here is a simple example showing how to do this --

Re: [Matplotlib-users] matplotlib-users@lists.sourceforge.net

2007-06-27 Thread massimo sandal
Emmanuel Favre-Nicolin ha scritto: Hi, I didn't find any tip for preparation of simple black and white 2D plot, especially for nice output in eps for publication. Any suggestions are welcome. I don't get it. What kind of tips do you need? How to change the plot colour? m. -- Massimo San

[Matplotlib-users] matplotlib-users@lists.sourceforge.net

2007-06-27 Thread Emmanuel Favre-Nicolin
Hi, I didn't find any tip for preparation of simple black and white 2D plot, especially for nice output in eps for publication. Any suggestions are welcome. - This SF.net email is sponsored by DB2 Express Download DB2 Expres