Re: [Matplotlib-users] renderer for use with LineCollection object

2007-06-08 Thread Eric Firing
Travis, Do you need to call the draw method explicitly? The more usual way to use a LineCollection is to add it to the axes so that the draw method is called automatically when the figure is rendered. In the examples directory, see line_collection.py, line_collection2.py, and collections_dem

[Matplotlib-users] renderer for use with LineCollection object

2007-06-08 Thread Trevis Crane
Hi all, I'm trying to use a LineCollection object to speed up the drawing of a bunch of line segments. I've coded it all up, but when I call the draw method, it expects me to pass it a renderer. I assume this is another object instance of some sort, but I haven't found the appropriate documen

Re: [Matplotlib-users] Redundant error message when using wxAgg with wxPython 2.8

2007-06-08 Thread Christopher Barker
Sturla Molden wrote: >> If you use the new matplotlib 0.90.1 version then this has gone away. > > I do, and it hasn't gone away. I used the binary installer for Python 2.5 > on Windows (matplotlib-0.90.1.win32-py2.5.exe). > > When I looked at the code in SVN, the bug was there as well. That's wh

Re: [Matplotlib-users] Redundant error message when using wxAgg with wxPython 2.8

2007-06-08 Thread Sturla Molden
> Hi Sturla, > If you use the new matplotlib 0.90.1 version then this has gone away. I do, and it hasn't gone away. I used the binary installer for Python 2.5 on Windows (matplotlib-0.90.1.win32-py2.5.exe). When I looked at the code in SVN, the bug was there as well. S.M. ---

Re: [Matplotlib-users] interacting with data plot

2007-06-08 Thread Trevis Crane
Thanks! I'll have to play with this a bit to see if it works for what I want to do. > -Original Message- > From: John Hunter [mailto:[EMAIL PROTECTED] > Sent: Friday, June 08, 2007 12:41 PM > To: Trevis Crane > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users]

Re: [Matplotlib-users] Latex and font embedding

2007-06-08 Thread Stephan Bourduas
On June 8, 2007, Darren Dale wrote: > Unfortunately, psfrag produces postscript that can not be embedded in > another file, so we have to distill the output. By default, the ghostscript > distiller is used, but if you have pdftops (available with xpdf), you can > set the ps.usedistiller option to x

Re: [Matplotlib-users] interacting with data plot

2007-06-08 Thread John Hunter
On 6/8/07, John Hunter <[EMAIL PROTECTED]> wrote: > It made me realize that despite all my protestations not to repeatedly > call show, we do not have a backend dependent way to raise new figures > created in mpl callbacks. Since we've mostly made show bullet-proof > to repeated calls (because we

Re: [Matplotlib-users] interacting with data plot

2007-06-08 Thread John Hunter
On 6/8/07, Trevis Crane <[EMAIL PROTECTED]> wrote: Hi all, I have a plot of data that I am enabling the user to interact with. That is, I want them to be able to pick a point, and then have a new plot pop up in a different figure showing more info about that point. Here is an example th

Re: [Matplotlib-users] Redundant error message when using wxAgg with wxPython 2.8

2007-06-08 Thread Werner F. Bruhin
Hi Sturla, Sturla Molden wrote: > There is an annoying bug when using wxAgg backend with wxPython 2.8 on > Windows. Whenever matplotlib is imported, we get a modal message box > displaying the error message: > > "This application has failed to start because wxmsw26uh_vc.dll was not > found. Rei

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-08 Thread Werner F. Bruhin
Hi Andrew, Andrew Straw wrote: ... Dear Werner, I am reluctant to eliminate the sub-folder structure because I think it would add the possibility of unnecessary bugs to just the py2exe built version. Would it be possible for you to re-factor this to include the directory layout? When you tes

Re: [Matplotlib-users] to build barbs in quiver resultant vector

2007-06-08 Thread Jeff Whitaker
nappie74 wrote: > Hi, > I'm new in matplolib code, > I have matrix of winds vectors derivated from quiver introducing U,V > components,and positioning these in a sorted grid X,Y > with the command quiver (x, y, u, v,color='r') > It's possible to put in the figure the barbs to every arrow vector or

[Matplotlib-users] interacting with data plot

2007-06-08 Thread Trevis Crane
Hi all, I have a plot of data that I am enabling the user to interact with. That is, I want them to be able to pick a point, and then have a new plot pop up in a different figure showing more info about that point. So, looking through the manual and the tutorial I have taken the code from o

Re: [Matplotlib-users] record array and date support

2007-06-08 Thread John Hunter
On 6/8/07, Lionel Roubeyrie <[EMAIL PROTECTED]> wrote: Hi John, very very interesting idea. Is there a way to add some extras informations on the records arrays columns, like the units or/and the desired labels for the resulting plotted lines, directly retrieved in the CSV files? It could be do

[Matplotlib-users] Redundant error message when using wxAgg with wxPython 2.8

2007-06-08 Thread Sturla Molden
There is an annoying bug when using wxAgg backend with wxPython 2.8 on Windows. Whenever matplotlib is imported, we get a modal message box displaying the error message: "This application has failed to start because wxmsw26uh_vc.dll was not found. Reinstalling the application may fix this prob

[Matplotlib-users] to build barbs in quiver resultant vector

2007-06-08 Thread nappie74
Hi, I'm new in matplolib code, I have matrix of winds vectors derivated from quiver introducing U,V components,and positioning these in a sorted grid X,Y with the command quiver (x, y, u, v,color='r') It's possible to put in the figure the barbs to every arrow vector or scaling the arrow with the

Re: [Matplotlib-users] RE : Re: RE : Re: transformations

2007-06-08 Thread Nicolas
I can't figure why Polygons are used even when I simply draw lines. But I know at least why I use empty list of vertices. ;) In fact, I use matplotlib for a dynamic geometry software (something like GeoGebra), and systematic use of high-level functions of matplotlib would be to slow for that purpo

Re: [Matplotlib-users] Latex and font embedding

2007-06-08 Thread Darren Dale
On Thursday 07 June 2007 10:06:03 pm Stephan Bourduas wrote: > Hello, > > I've been using Matplotlib to generate postscript (eps) graphics which I > import into my latex documents. I tried using Latex to typeset > mathematical symbols on my plots using the steps described here: > > http://www.scip

Re: [Matplotlib-users] change in color handling (or bug in 0.90.1) ?

2007-06-08 Thread Mark Bakker
I know for a fact that it used to work for fill( [0,1,1], [0,0,1], '#66'). But maybe I was just lucky. It would be nice if you can make the change officially, Mark On 6/7/07, Eric Firing <[EMAIL PROTECTED]> wrote: Mark Bakker wrote: > Hello - > > This used to work: > fill( [0,1,1], [0,0,1],

Re: [Matplotlib-users] record array and date support

2007-06-08 Thread Lionel Roubeyrie
Hi John, very very interesting idea. Is there a way to add some extras informations on the records arrays columns, like the units or/and the desired labels for the resulting plotted lines, directly retrieved in the CSV files? Cordialy Le jeudi 07 juin 2007, John Hunter a écrit : > I just added s