Re: [Matplotlib-users] Drawing shapes outside the plot area

2008-05-07 Thread Matthias Michler
Hello Bryan, On Tuesday 06 May 2008 20:07:58 Bryan Fodness wrote: > I would like to be able to draw a triangle on the graph outside the axes > and plot area.  I have used fill before, but that was in the plot area. >  Can someone push me in the right direction? Would it be helpful to have a axes

Re: [Matplotlib-users] bug in qtagg backend when blitting

2008-05-07 Thread Darren Dale
There it is. Thanks Mike, it looks great on 64-bit Linux! On Tuesday 06 May 2008 03:04:05 pm Michael Droettboom wrote: > Thanks. Try again now. Hopefully it's correct this time (your test is > a much better unit test than the animation_blit_* examples. > > Cheers, > Mike > > Darren Dale wrote: >

[Matplotlib-users] adding a box (domain) on a basemap map

2008-05-07 Thread Nicolas
Hi all sorry for posting this question that might have been answered before, but I'm in the urgent need of finding a way to overlay a rectangular box on a basemap map (cylindrical projection) given the latitudes and longitudes of the domain. This is to delineate on a map the domain over which a in

Re: [Matplotlib-users] Canvas coordinates vs. Plot coordinates

2008-05-07 Thread Matthew Czesarski
> Use mpl events -- they work across user interface toolkits and handle > stuff like which axes did you click in and what are the data > coordinates > Excellent, that did the trick. In just 2 minutes. :) Thanks a lot. Could I just chuck in one simple question: you may have noticed I am embedding

[Matplotlib-users] slider_demo.py (online) and radio_buttons.py (svn-examples) broken

2008-05-07 Thread Matthias Michler
Hello list, the nice example of sliders and buttons from the matplotlib screenshots doesn't work anymore (at least) for me under mpl 0.91.2 and latest svn. In http://matplotlib.sourceforge.net/screenshots/slider_demo.py the replacement >hovercolor=0.975< -> >hovercolor="

Re: [Matplotlib-users] bug in qtagg backend when blitting

2008-05-07 Thread Michael Droettboom
Great! Cheers, Mike Darren Dale wrote: > There it is. Thanks Mike, it looks great on 64-bit Linux! > > On Tuesday 06 May 2008 03:04:05 pm Michael Droettboom wrote: > >> Thanks. Try again now. Hopefully it's correct this time (your test is >> a much better unit test than the animation_blit_*

[Matplotlib-users] Possible to optimize canvas update speed?

2008-05-07 Thread Søren Nielsen
Hi, I'm plotting lines on top of an image using the plot command, trying to make polygons. I click one point on an image and another point, and a line is drawn between them. I'm also showing a guide line, so that the user can see the line before pressing the mouse button.. All i'm doing is taking

Re: [Matplotlib-users] MPL, py2exe and fonts

2008-05-07 Thread Michael Droettboom
Chris Barker wrote: > Hi all, > > I'm successfully getting all the MPL data files into spy2exe with: > > DATA_FILES = matplotlib.get_py2exe_datafiles() > > The problem is that that dumps a LOT of stuff, and I don't need most of > it. I've already added to my script a few lines that delete the "ima

Re: [Matplotlib-users] Canvas coordinates vs. Plot coordinates

2008-05-07 Thread John Hunter
On Wed, May 7, 2008 at 7:41 AM, Matthew Czesarski <[EMAIL PROTECTED]> wrote: > Could I just chuck in one simple question: you may have noticed I am > embedding everything in GTK. After calling gtk.main() is there any way I can > modify the displayed window? Or do I have to bin the whole thing and

Re: [Matplotlib-users] Possible to optimize canvas update speed?

2008-05-07 Thread John Hunter
On Wed, May 7, 2008 at 9:17 AM, Søren Nielsen <[EMAIL PROTECTED]> wrote: > Hi, > > I'm plotting lines on top of an image using the plot command, trying to make > polygons. I click one point on an image and another point, and a line is > drawn between them. I'm also showing a guide line, so that the

Re: [Matplotlib-users] slider_demo.py (online) and radio_buttons.py (svn-examples) broken

2008-05-07 Thread Michael Droettboom
Matthias Michler wrote: > > The second problem arises only with latest svn. > At the end of the mail there's the Traceback, which arises after clicking the > radiobutton during running examples/widgets/radio_buttons.py. > This is now fixed in SVN. It hadn't been updated to use the new tran

[Matplotlib-users] specifying colors in 'extend' option of contourf

2008-05-07 Thread James Boyle
I cannot get the contourf extended color map ranges to show up in the plot. the extend option of contourf states: extend = 'neither', 'both', 'min', 'max' Unless this is 'neither' (default), contour levels are automatically added to one or both ends of the range so that all da

[Matplotlib-users] Square brackets in mathtext (version 0.91.2)

2008-05-07 Thread Maxim Fedorovsky
Dear all, The following TeX expression did not produce any error message with matplotlib versions 0.87.3 - 0.90.2 : r'$Wavenumber,\ [\ cm^{-1}\ ]$' The following error is produced with version 0.91.2 : : Expected end of math '$' $Wavenumber,\ [\ cm^{-1}\ ]$ (at

Re: [Matplotlib-users] from pylab import nx?

2008-05-07 Thread New2Python
Hi All, I have the same issue, is there a fix to this Michael Droettboom-3 wrote: > > Eric Firing wrote: >> Chris Withers wrote: >> >>> Hi All, >>> >>> A few of the units demos include the lines: >>> >>> from pylab import nx >>> >>> ...but this import errors for me. >>> >>> Why is that? >>

[Matplotlib-users] segmentation fault with pylab

2008-05-07 Thread Antonino Cucchiara
Hello, I am experiencing a problem recently on my Mac OsX. When I try to import mathplotlib.mathtext or pylab I received a segmentation fault error. It wasn't like that before, and I recently update my matplotlib and scipy via fink. It worked fine few weeks ago. I hope someone can help me. Than

[Matplotlib-users] matplotlib and cron

2008-05-07 Thread Andre Wong
Hi I am attempting to generate graphs using matplotlib/pyplot via a cron process. These scripts work perfectly fine when I am logged in and run the scripts on the command line, however they fail to run when they are set up as a cronjob. Even a simplified plotting routine does not work: from ma

[Matplotlib-users] Polar charts question

2008-05-07 Thread Matias Surdi
Is it possible to make a chart like this: http://www.advsofteng.com/images/multiradar_g.png with matplotlib? Where can I find some examples? Thanks a lot. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conferen

Re: [Matplotlib-users] from pylab import nx?

2008-05-07 Thread Alan G Isaac
from pylab import nx ...but this import errors for me. On Wed, 7 May 2008, New2Python apparently wrote: > I have the same issue, is there a fix to this I'm on the run, but let me guess that you can replace this with import numpy as nx Cheers, Alan Isaac ---

Re: [Matplotlib-users] MPL, py2exe and fonts

2008-05-07 Thread Chris Barker
Michael Droettboom wrote: > Chris Barker wrote: >> I'm successfully getting all the MPL data files into spy2exe with: >> >> DATA_FILES = matplotlib.get_py2exe_datafiles() >> >> The problem is that that dumps a LOT of stuff, and I don't need most >> of it. > The default text font is Vera.ttf. (If