Hi all!
I'd like to embed a mpl graph into a GTK application (and for that
embedding_in_gtk*.py examples are fine) but I would also like to
dynamically update the graph with time.
Consider like if I want to plot some dynamic system information, like
cpu usage, memory occupation, or so. Than I
I've realized that using the ParasiteAxes from the mpl_toolkits should do
exactly what I'm asking. However, I am having a problem with callbacks when
the x and y limits change (try resizing the window). The following script
shows that the callback for the second set of axes is not carried out. Is
There was a typo in the script, the callbacks should be
ax.name = first axis
ax.callbacks.connect('xlim_changed',check_callback)
ax.callbacks.connect('ylim_changed',check_callback)
ax2 = ax.twin()
ax2.name = second axis
ax2.callbacks.connect('xlim_changed',check_callback)
I am creating a script that generates images and displays them to the screen
in real time. I created the following simple script:
__
#!/usr/bin/env python
from pylab import *
from scipy import *
for k in range(1,1):
img = standard_normal((40,40))
Not sure if this will help, but maybe you can do something like this?
---
#!/usr/bin/env python
from pylab import *
from scipy import *
img = standard_normal((40,40))
image = imshow(img,interpolation='nearest',animated=True,label=blah)
for k in range(1,1):
img =
Thomas Robitaille wrote:
Not sure if this will help, but maybe you can do something like this?
---
#!/usr/bin/env python
from pylab import *
from scipy import *
To run this as a standalone script, without ipython -pylab, you need to
include:
ion()
img = standard_normal((40,40))
I have two time series, {u_j} and {v_j}, with vastly different scales,
but all sampled at the same times, {t_j}. Is there an easy way to
plot the two on the same figure, with different vertical axes on the
left and the right?
-gideon
On Sat, May 2, 2009 at 5:00 PM, Gideon Simpson simp...@math.toronto.eduwrote:
I have two time series, {u_j} and {v_j}, with vastly different scales,
but all sampled at the same times, {t_j}. Is there an easy way to
plot the two on the same figure, with different vertical axes on the
left and
On Sat, May 2, 2009 at 9:42 AM, Sandro Tosi mo...@debian.org wrote:
Hi all!
I'd like to embed a mpl graph into a GTK application (and for that
embedding_in_gtk*.py examples are fine) but I would also like to
dynamically update the graph with time.
Consider like if I want to plot some
Hi all,
For those that are interested I have finally (now that my first batch
of exams are finished) set-up a blog so that you can track the
progress of the project.
My blog can be found here: http://gsoc-mathtex.blogspot.com/ (no marks
for originality ;). I intend to update it on a
Matthias Michler wrote:
Hello Eric, Hello list,
a year ago I also encountered the problem of one file - one figure of the
plotfile function. I would like to propose an addional functionality of using
one figure and several files in plotfile, because sometimes I don't want to
read data
Hi everybody,
For those of you that are using the gtk, gtkcairo, or gtkagg backends:
Today pygtk version 2.15.0 became available, which is the first pygtk that can
be used interactively from both python and ipython. If you're using ipython, be
sure to wait for release 0.10.0 of ipython before
ax.twin returns a ParasiteAxesAuxTrans instance which is derived from
the mpl's original Axes, but only drawing-related methods are meant to
be meaningful. For example, this axes is never meant to be added to
the figure and the draw method of this axes is never meant to be
called. I haven't looked
hi all,
is there a way to plot the results of hierarchical clustering as a
dendrogram on top and to the sides of a heatmap matrix? for example, like
this figure:
http://www.egms.de/figures/meetings/gmds2006/06gmds075.f1.png
any examples of how to do this in matplotlib would be greatly
14 matches
Mail list logo