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

2009-09-11 Thread Laurent Dufrechou
Hello, I face a very boring problem. Here is a little modified pyqt widget example found on matplotlib website. Basicaly I've just added a tab widget and inside it a matplotlib widget. Sadly, on creation the widget don't get the full size of the PA_tab widget :( BUT once I resize manually the app

[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] 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 a

[Matplotlib-users] Little issue with blitting technique

2009-10-08 Thread Laurent Dufrechou
Hello, I've just discovered blitting technique to improve performances. I'm using this example http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4.html I encounter an issue if instead of using subplot I use add_axes method to hand define where I want my plot. In this c

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

2009-10-08 Thread Laurent Dufrechou
Hello, Continuing on my previous email, I'm using this example: http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4.html def __init__(self): FigureCanvas.__init__(self, Figure()) self.ax = self.figure.add_subplot(111) self.ax.set_position([0.1

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

2009-10-09 Thread Laurent Dufrechou
Hello, Whether method I use to package my python app, I always reach the issue where the toolbar does not display some icons whiel the "subplot" is well displayed. Each time the packaging method copy mpl-data where the .exe is created so file are or should be at the right location. Does anybo

[Matplotlib-users] Little issue with blitting technique

2009-10-12 Thread Laurent Dufrechou
Hello, I've just discovered blitting technique to improve performances. I'm using this example http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4. html I encounter an issue if instead of using subplot I use add_axes method to hand define where I want my plot. In this

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

2009-10-12 Thread Laurent Dufrechou
Hello, Whether method I use to package my python app, I always reach the issue where the toolbar does not display some icons whiel the "subplot" is well displayed. Each time the packaging method copy mpl-data where the .exe is created so file are or should be at the right location. Does anybo

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

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

2009-10-16 Thread Laurent Dufrechou
> De : Jae-Joon Lee [mailto:lee.j.j...@gmail.com] > Envoyé : jeudi 15 octobre 2009 05:23 > À : Laurent Dufrechou > Cc : matplotlib-users@lists.sourceforge.net > Objet : Re: [Matplotlib-users] Little issue with blitting technique > > On Tue, Oct 13, 2009 at 1:02 PM, Laurent Du

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

2009-10-16 Thread Laurent Dufrechou
Hello, I'm investigating a way to make a sort of imshow that is scrolling from right to left. My idea is to copy in a blit buffer from (1,0) to (xmax,ymax). Blit it @(0,0) (xmax-1,ymax) And then draw a cmap'ed line @x=xmax. So here are my question: How to draw a line that use a cmap=jet

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

2009-10-16 Thread Laurent Dufrechou
Hello, I'm investigating a way to make a sort of imshow that is scrolling from right to left. My idea is to copy in a blit buffer from (1,0) to (xmax,ymax). Blit it @(0,0) (xmax-1,ymax) And then draw a cmap'ed line @x=xmax. So here are my question: How to draw a line that use a cmap=jet

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

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

2009-11-30 Thread Laurent Dufrechou
Hi there, Finally with lot of try I've finally managed to make blitting of a cmap working. I've also patched QT4agg backend, to make a redraw immediately. (replaced self.draw by self.repaint) In my current project I was able to stream a 655KB network stream, do demodulation of an IQ stream and dis

Re: [Matplotlib-users] Colorbar embedding in qt4

2010-01-03 Thread Laurent Dufrechou
Hello, You are using the TK backend. Add this at the top of your script: import matplotlib matplotlib.use('QT4Agg') from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg as NavigationToolbar Should

Re: [Matplotlib-users] Colorbar embedding in qt4

2010-01-07 Thread Laurent Dufrechou
Hi alexander, I tryed yesterday to play a little with your script. I suspect that in fact each time you draw a figure, it is added to a pool of figure to be rendered. Thus it goes slower and slower. What I do in my scritpt is either update the datas or if the drawing is a completely new o

[Matplotlib-users] Problem with wxAgg toolbar and py2exe

2008-07-07 Thread Laurent Dufrechou
Hello, I've recently used the toolbar from wxAgg backend: from matplotlib.backends.backend_wx import NavigationToolbar2Wx I've got a problem when trying to freeze my app now because I get this message when trying to invoke the toolbar: Traceback (most recent call last): File "CommandPa

[Matplotlib-users] Colormap cluttering?

2008-07-28 Thread Laurent Dufrechou
Hello, I would like to have a cluttering functionality to colorbar. http://en.wikipedia.org/wiki/Clutter_(radar) Before writing it, I would like to know if there is a way to doing it with matplotlib. What I mean by cluttering is: You've got a colormap associated with a graphic where v

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

2008-07-29 Thread Laurent Dufrechou
Hi guys, continuing exploring matplotlib capabilities J I've applied the idea you've said later about colormap. Now I would like on an event to refresh my view so I've written this code: . def InitCode(self): . self.norm = plt.Normalize(vmin=0, vmax=255) se

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] [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)

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