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
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
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 (0n1) and 0,0 is bottom left
size_x, size_x is a number (0n1)
1 is full figure size.
Ex: axe =
[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 Dufrechou
ldufrec...@marport.com wrote:
Hello,
I've
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
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
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: [Matplotlib-users] Little issue with blitting
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
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
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
.
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
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
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)
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
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, Laurent
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)
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)
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
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
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
20 matches
Mail list logo