Re: [Matplotlib-users] Getting the set of point actually plotted (from Sage)

2011-02-06 Thread Laurent
oint, I suceed to track my information. It was in the segments argument of matplotlib.collections.LineCollection Now I'm tracking back the information ... It is in mcontour.QuadContourSet(self, *args, **kwargs).allsegs in the method matplotlib.axes.Axes.contour() I'm almost done. Than

[Matplotlib-users] Getting the set of point actually plotted (from Sage)

2011-02-06 Thread Laurent
x of the points that are *actually* plotted without taking into account the axes, labels and other decorations. Does someone know how to do that ? Since the object I have on hand is created by Sage[1] in a quite complex way, I'm sorry to not being able to furnish an example. Thanks Laurent

Re: [Matplotlib-users] text annotation

2010-12-21 Thread Benoist Laurent
ry something like; > >for i in xrange(5): >theta = i*1.3+1.5 >xx = center[0]+(radius-4)*math.cos(theta) >yy = center[1]+(radius-4)*math.sin(theta) >pyplot.annotate(str(i+1), (xx, yy), color='g', va="center", > ha="cent

Re: [Matplotlib-users] text annotation

2010-12-16 Thread Benoist Laurent
x1, x2 = pyplot.xlim() y1, y2 = pyplot.ylim() bounds = (min(x1,y1), max(x2,y2)) pyplot.xlim(bounds) pyplot.ylim(bounds) for i in xrange(5): theta = i*1.3+1.5 pyplot.annotate(str(i+1), (theta, radius-4), textcoords='polar', color='g') pyplot.sho

Re: [Matplotlib-users] text annotation

2010-11-26 Thread Benoist Laurent
Thank you for your answer. I read the text and annotate manual pages. I don't understand how the "polar" xycoords/textcoords works. I guess I should use this but its not clear to me. Le 26 nov. 10 à 14:13, Alan G Isaac a écrit : > On 11/26/2010 8:12 AM, Benoist Laurent w

[Matplotlib-users] text annotation

2010-11-26 Thread Benoist Laurent
Hi, I'm a new matplotlib user and I'm already impressed by matplotlib's features! But I can't find how to do something that looks quite easy. I have several points making something that looks like a circle. I would like to anotate these point. How can I manage the annotation of points forming a

Re: [Matplotlib-users] Colorbar embedding in qt4

2010-01-07 Thread Laurent Dufrechou
who knows for the future): axe = fig.add_axes(self.getPosition()) … self._fig.delaxes(self._axe) To go even faster(x10) you have the blitting method, but set_ydata should be sufficent. Laurent De : Alexander Hupfer [mailto:son...@gmail.com] Envoyé : jeudi 7 janvier

Re: [Matplotlib-users] Colorbar embedding in qt4

2010-01-03 Thread Laurent Dufrechou
ionToolbar Should work. (Or at least will no more show errors related to TK backend...) Laurent -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app develo

[Matplotlib-users] Bliting speed improvment patch (QT4Agg backend) + example of sliding demo

2009-11-30 Thread Laurent Dufrechou
e2) self.blit(self.ax2.bbox) self.restore_region(self.background2) that is blit before restore... don't understand why yet. Any comment welcomed. Is there any chance, after review, to find a way to include this in main trunk? What do think about this? Cheers, Laurent """ Re

Re: [Matplotlib-users] set figure position

2009-11-22 Thread Laurent Dufrechou
Hi marie, You can define exactly the size and position of your plot like this: fig = Figure() axe = fig.add_axes([pos_x,pos_y,size_x,size_y]) axe.plot(x, y, 'b') where pos_x,pos_y is a number (0mailto:marie.delafonta...@yahoo.com] Envoyé : dimanche 22 novembre 2009 18:05 À : matplotlib-users@li

Re: [Matplotlib-users] Little issue with blitting

2009-10-24 Thread Laurent Dufréchou
han the old 7 FPS I go without blitting. I’m not sure it is the ideal solution. Any thought? Laurent De : Auré Gourrier [mailto:aurelien.gourr...@yahoo.fr] Envoyé : mercredi 21 octobre 2009 13:55 À : matplotlib-users@lists.sourceforge.net Cc : Laurent Dufr?chou Objet : Re : Re: Lit

Re: [Matplotlib-users] Little issue with blitting

2009-10-24 Thread Laurent Dufréchou
like this. Any GUI guru help welcomed, I’ll dig this further, but I think something is missing there. Perhaps I should force a repaint of the widget immediately? Anyway, I’m near the end J Cheers, Laurent De : Auré Gourrier [mailto:aurelien.gourr...@yahoo.fr] Envoyé

[Matplotlib-users] Cleaver way to do a scrolling imshow?

2009-10-16 Thread Laurent Dufrechou
use a cmap=jet (for example)? I've taken a look at Line2D but it has no cmap argument. The only thing I've found is drawing a line with only one color... Any idea appreciated! Cheers, Laurent -- Com

[Matplotlib-users] TR: Cleaver way to do a scrolling imshow?

2009-10-16 Thread Laurent Dufrechou
use a cmap=jet (for example)? I've taken a look at Line2D but it has no cmap argument. The only thing I've found is drawing a line with only one color. Any idea appreciated! Cheers, Laurent -- Com

Re: [Matplotlib-users] Little issue with blitting technique

2009-10-16 Thread Laurent Dufrechou
Bug reported: https://sourceforge.net/tracker/index.php?func=detail&aid=2880692&group_id=80706&atid=560720 Does anybody where I could dig a little to try to correct it? It a really needed feature for me, so if I could help... Cheers, Laurent > -Message d'origine-

Re: [Matplotlib-users] [Solved] Little issue with blitting technique

2009-10-15 Thread Laurent Dufréchou
ubplot(211) The image is buggy because the blitting is no more working, still I get 86FPS. So let say no change. Now replace “ax.bbox” with ”ax.get_figure().bbox”: The bug disappear and I get a small 20 FPS… Tested under windows vista , matplotlib 0.99.1, python 2.5.4. Laurent P

[Matplotlib-users] [Solved] Little issue with blitting technique

2009-10-13 Thread Laurent Dufréchou
es. I can send you the good working example if you want. Cheers, Laurent > -Message d'origine- > De : Laurent Dufrechou [mailto:ldufrec...@marport.com] > Envoyé : mardi 13 octobre 2009 19:02 > À : Jae-Joon Lee > Cc : matplotlib-users@lists.sourceforge.net > Objet : R

Re: [Matplotlib-users] Little issue with blitting technique

2009-10-13 Thread Laurent Dufréchou
le is more beautiful but 10 times slower than other examples, so is blitting really working in this case ?) I'll dig this a little more but any idea welcome :) > -Message d'origine- > De : Laurent Dufrechou [mailto:ldufrec...@marport.com] > Envoyé : mardi 13 octobre 2009

Re: [Matplotlib-users] Little issue with blitting technique

2009-10-13 Thread Laurent Dufrechou
#x27;ll also try gtk backend as you suggest. Update in next email :) > -Message d'origine- > De : Jae-Joon Lee [mailto:lee.j.j...@gmail.com] > Envoyé : mardi 13 octobre 2009 18:36 > À : Laurent Dufrechou > Cc : matplotlib-users@lists.sourceforge.net > Objet : Re: [M

[Matplotlib-users] Some icons do not showup after packaging with py2exe or pyinstaller

2009-10-12 Thread Laurent Dufrechou
ion. Does anybody has encountered this issue /solved it? If not, can someone explain me the basic process behind finding the pictures inside matplotlib? So I'l try to debug this with py2exe and pyinstaller team. Ps: using matplotlib 0.99.1 + pyqt 4.4 Thx a lot for any directi

[Matplotlib-users] Little issue with blitting technique

2009-10-12 Thread Laurent Dufrechou
hy in this case the example given is not working? Cheers, Laurent -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your develop

[Matplotlib-users] Some icons do not showup after packaging with py2exe or pyinstaller

2009-10-09 Thread Laurent Dufrechou
ion. Does anybody has encountered this issue /solved it? If not, can someone explain me the basic process behind finding the pictures inside matplotlib? So I'l try to debug this with py2exe and pyinstaller team. Ps: using matplotlib 0.99.1 + pyqt 4.4 Thx a lot for any directi

[Matplotlib-users] Little issue with blitting technique [Update]

2009-10-08 Thread Laurent Dufrechou
ph is not restored. I think there is a bug in the refresh of the bounding box or something like this. Using matplotlib 0.99.1.1 python2.5 win32 pyqt4 4.4.3.7 (given with python(x,y) 2.1.17) Laurent -- Come build wi

[Matplotlib-users] Little issue with blitting technique

2009-10-08 Thread Laurent Dufrechou
this case the example given is not working? Cheers, Laurent -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing sk

[Matplotlib-users] Testing email becuase my previuous didn't want to appear...

2009-10-08 Thread Laurent Dufrechou
. Laurent -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market

[Matplotlib-users] Re :Re: Little help need ed with pqt ...

2009-09-11 Thread laurent . dufrechou
Hi Darren, Thanks for your answer. ... I've updated to matplotlib 0.99 since the last email... and the bug disappeared :) Must be a bug of previous version since I had ever added a layout to the central widget! Thanks anyway for your help! On Fri, Sep 11, 2009 at 5:52 PM, La

[Matplotlib-users] Little help needed with pqt ...

2009-09-11 Thread Laurent Dufrechou
nually the app all became OK... To be honest I've got NO idea of what is the problem :( Any direction highly appreciated! Laurent matplotlib: __version__ = '0.98.5.2' And pyqt: 4.4.3.6 #!/usr/bin/env python # embedding_in_qt4.py --- Simple Qt4 application embedding matplotlib

Re: [Matplotlib-users] [PyQt] Pydee v0.3.0

2009-03-11 Thread Laurent Dufrechou
Hey pierre, Wow that's fantastic! One week ago I started (not sent) a mail that was intended for you on python(x,y) I explained that the main issue I get with users I want to convert to python is: 1) "Hey there is so lot packages, each time I need to install a new package to get your feature." 2)

[Matplotlib-users] Polar bars and matplotlib 0.98.5

2009-02-19 Thread Laurent Mychkine
hi, I'm using polar bars to plot windroses. Since the 0.98.5 version i have some issues with the plots. The 0° bar is not displayed in the good way. This bar is located between -0.26 radian and 0.26 radian but it is printed counterclockwise. It was working perfectly with matplotlib version 0.98.3.

Re: [Matplotlib-users] Problem in mlab.py while creating .exe

2009-01-12 Thread Laurent Dufréchou
Thx you john, for you fast reply (as always). You're true seems to be a py2exe optimization problem. I've got the good origin of the problem. So your true you don't have to include my ugly patch :) Thx for the link, will write a little tuto on making .exe! Regards, Laurent

Re: [Matplotlib-users] py2exe with pylab

2008-09-21 Thread Laurent Dufréchou
Had the same problem, solved with the setup.py attached ;) Just modify it to fit your needs, should be a good start. Works under vista + matplotlib 0.98.3 Cheers Laurent > -Message d'origine- > De : Ron Adelman [mailto:[EMAIL PROTECTED] > Envoyé : samedi 20 septembre

Re: [Matplotlib-users] Problem with label displaying

2008-09-20 Thread Laurent Dufrechou
Excellent! That's was EXACTLY what I needed! Thanks a lot Friedrich! :) 2008/9/20 Friedrich Hagedorn <[EMAIL PROTECTED]>: > On Sat, Sep 20, 2008 at 04:06:36PM +0200, Laurent Dufrechou wrote: >> Hello all, >> I'm trying to show to a friend matplotlib features v

Re: [Matplotlib-users] Multiple plots, interactivity, wx etc

2008-08-12 Thread Laurent Dufréchou
var1['data']) y1 = array(var1['data']) axes = fig.add_subplot(111)#211) axes.yaxis.tick_left() axes.plot(x1,y1,alpha=1) And should be OK. Personnaly I use wx.aui to manage multpile wx.panel inside an App, but it depends what yo

Re: [Matplotlib-users] imshow update norm make my app crash.

2008-07-30 Thread Laurent Dufréchou
llet 2008 02:04 > À : Laurent Dufrechou > Cc : matplotlib-users@lists.sourceforge.net > Objet : Re: [Matplotlib-users] imshow update norm make my app crash. > > On Tue, Jul 29, 2008 at 6:52 PM, Laurent Dufrechou > <[EMAIL PROTECTED]> wrote: > > > I've applied the i

[Matplotlib-users] imshow update norm make my app crash.

2008-07-29 Thread Laurent Dufrechou
_ result = self.f(d1, d2, *args, **kwargs).view(get_masked_subclass(a,b)) ValueError: shape mismatch: objects cannot be broadcast to a single shape UpdateSonarview works flawlessly if I modify the colormap (self.cmap) and call it then. If I modify self.nor

Re: [Matplotlib-users] Colormap cluttering?

2008-07-29 Thread Laurent Dufréchou
Hi andrew, eric, Excellent that is exactly what I was looking for :) Laurent > -Message d'origine- > De : Eric Firing [mailto:[EMAIL PROTECTED] > Envoyé : mardi 29 juillet 2008 02:39 > À : Laurent Dufrechou > Cc : matplotlib-users@lists.sourceforge.net > Objet 

[Matplotlib-users] Colormap cluttering?

2008-07-28 Thread Laurent Dufrechou
0 with N segments. (moreover I don't understand how you set the over/under value.) Laurent - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applicatio

Re: [Matplotlib-users] twinx memory leak

2008-07-15 Thread laurent oget
I am puzzled. Wasn't the whole point of close() to avoid memory leaks? Laurent 2008/7/15 Michael Droettboom <[EMAIL PROTECTED]>: > Yes, as of r5747 twinx (well, shared axes specifically) no longer leaks. > > Manuel has discovered a seemingly generic leak that occurs when

Re: [Matplotlib-users] twinx memory leak

2008-07-11 Thread laurent oget
0,0.9,0.45)) ax1=PL.twinx(ax) t=range(1000) st=[math.sin(x*0.01) for x in t] ax.plot(t,st) fig.clf() PL.close(1) gc.collect() print "GC" print len(gc.get_objects()) print len(gc.garbage) looptest() >>

[Matplotlib-users] twinx memory leak

2008-07-11 Thread laurent oget
I think i narrowed down the memory leak i have been chasing for a while. If i remove the call to twinx i get a slow leak, which would cause me trouble after a very long time. With the call to twinx, however i am losing thousands of objects at each loop. Thanks, Laurent

[Matplotlib-users] Problem with wxAgg toolbar and py2exe

2008-07-07 Thread Laurent Dufrechou
\images\home.png"; dying It is really strange because I've put this in my setup.py: import matplotlib data_files = matplotlib.get_py2exe_datafiles() So there is a directory mpl-data/images so should work. (

[Matplotlib-users] best way to produce many charts

2008-07-02 Thread laurent oget
I am using matplotlib to produce a big number(16000) of charts and am facing a steady memory leak. my code sofar looks like: while(1): fig=PL.figure(1) ..plot some things.. fig.clf() PL.close() am i missing something? Laurent

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