Hi,
I think there is a good reason to add the functionality to plot
pre-computed histograms to hist() or to a new function with similar API.
Sometimes histograms are heavy or we don't want to recompute them to
perform a series of plots.
In this case, I miss the ability to easily set the plot
Hi to all,
I'm computing some spectrograms using the convenient functions defined in
matplotlib.mlab.
I found something that I don't completely understand. In computing the PSD
the onesided power spectrum is scaled by a factor of 2 except for the first
and the last bin:
frequency,
usually by applying an analog filter to the data, or otherwise knowing that
it cannot have undesired high frequency content.
*From:* Antonino Ingargiola [mailto:trite...@gmail.com]
*Sent:* Wednesday, February 11, 2015 6:45 PM
*To:* matplotlib-users@lists.sourceforge.net
*Subject
Hi to all,
I'm doing a simple animation like this:
--
ion()
x = arange(0,2,0.01)
y = zeros_like(x)
y[45:55]=1
l, = plot(x,y)
D = 0.1
h = x[1]-x[0]
dt = 0.0001;
def nabla(v,h):
na = zeros_like(v)
na[1:-1] = (v[2:]-2*v[1:-1]+v[:-2])
na[0],na[-1] = 0,0
return na/(h**2)
for i in
toolbar is modified through the addition of two
custom buttons.
2009 (C) Antonino Ingargiola trite...@gmail.com
Licence: GNU GPL v2 or later.
from time import sleep
import gtk
import gobject
import numpy as np
from matplotlib.figure import Figure
from matplotlib.backends.backend_gtkagg import
HI to the list,
I'm playing with blit animations in a gtk window. Looking at MPL
examples I came up with a working example (attached) that shows a sin
wave with a play toggle button and a scale button that changes the
axis limits. In order to plot the first frame (before play is clicked)
and to
Hi,
2007/10/29, Darran Edmundson [EMAIL PROTECTED]:
I'm trying to generate plots as textures for use within a real-time
graphics application (written using the pythonOgre graphics engine).
I'm brand new to matplotlib so please bear with me. Two questions, one
easy, one possibly hard.
In
You can do it this way:
data = array(data)
x = arange(len(data))
plot(x[data!=0], data[data!=0])
Regards,
~ Antonio
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2
Hi,
2007/6/19, Antoine Sirinelli [EMAIL PROTECTED]:
On Tue, Jun 19, 2007 at 02:12:28PM +0200, David Tremouilles wrote:
Pyplotsuite is another pygtk project using matplotlib.
It is developed by Antonino Ingargiola.
http://pyplotsuite.sourceforge.net/
Could be maybe interesting to join
Hi,
2007/6/19, John Hunter [EMAIL PROTECTED]:
snip
* you may want to look at the line editor dialog in backend_gtk.py for
inspiration. This uses drop down menus for linestyles, color dialog
boxes to pick colors, etc... I'll paste in the code below
Thanks,
JDH
class DialogLineprops:
Hi,
2007/5/26, Steve Schmerler [EMAIL PROTECTED]:
Jeff Whitaker wrote:
[EMAIL PROTECTED] wrote:
[cut]
I get a 600x300 png with that script, using the latest SVN.
-Jeff
Me too, on Linux, mpl 0.90dev3131.
Me too with MPL 0.87.7 on Debian Etch.
~ Antonio
Fowarding to the list ...
-- Forwarded message --
From: Antonino Ingargiola [EMAIL PROTECTED]
Date: 4-mag-2007 11.12
Subject: Re: [Matplotlib-users] matplolib equivalent of gnuplot's impulse
To: Emmanuel [EMAIL PROTECTED]
Hi,
On 5/3/07, Emmanuel [EMAIL PROTECTED] wrote
Sorry for the late answer...
On 3/29/07, Ken McIvor [EMAIL PROTECTED] wrote:
On Mar 28, 2007, at 6:03 PM, Antonino Ingargiola wrote:
On 3/28/07, Ken McIvor [EMAIL PROTECTED] wrote:
You should probably do the acquisition asynchronously by running it
in a separate thread.
snip
That's
On 4/1/07, Antonino Ingargiola [EMAIL PROTECTED] wrote:
On 3/29/07, Ken McIvor [EMAIL PROTECTED] wrote:
[cut]
The last think I'm not yet able to do is to update the colorbar to
autoscale with the new incoming data. The the script that follows
tries to update the colorbar too but it does
On 3/30/07, Richard Brown [EMAIL PROTECTED] wrote:
On 30/03/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Not sure what region[:] is supposed to achieve. You are creating a copy
with the same name, so you are over-riding the original variable.
That doesn't seem to be the case - it
Hi to the list,
I'm searching to display in realtime some data read serial port. The
data is a 2D matrix and is read element wise from the serial, one
pixel each one (or more) seconds.
I'm running the script from ipython -pylab using the command run
scriptname. After loading the script I
On 3/16/07, Niklas Saers [EMAIL PROTECTED] wrote:
Hi,
I'm quite new to Matplot. When issuing show() from Python 2.5 under
OS X I get a nice menu bar at the bottom with home, left, right etc.
How can I use these? I tried the different examples, and there are
plenty of examples that open
On 3/15/07, Pellegrini Eric [EMAIL PROTECTED] wrote:
Hello everybody,
when using matplotlib, any plot I create is displayed separately from my
Tkinter application. Is there a direct way to embed the plot created by
matplotlib in a widget such as a canvas using something like create_image
or
On 3/13/07, John Travers [EMAIL PROTECTED] wrote:
On 13/03/07, Antonino Ingargiola [EMAIL PROTECTED] wrote:
1. This method works ok as far as I choose a unicode font with the
greek letters, for example:
rcParams['font.serif'] = 'DejaVu Serif'
However with unicode strings I'm
On 3/14/07, Antonino Ingargiola [EMAIL PROTECTED] wrote:
[cut]
Furthermore I have noted that with usetex ticks label are rendered
differently if they are explicitly set with set_[xy]ticklabels() or
not. Compare the ytick labels (automatic) and xtick labels (manually
set) in the attached plot
Hi to the list,
I'm using matplotlib to generate graphs during my master thesis. I
want to thank all the developer for providing such flexible tool.
In some plots I have to put greek letters (or sometimes small fomulas)
as axis label. I've found three way to accomplish this:
1. Use the unicode
Sorry for the previous mail I've hit Send for error before the mail
was complete.
Here it is the complete mail:
Hi to the list,
I'm using matplotlib to generate graphs during my master thesis. I
want to thank all the developer for providing such flexible tool.
In some plots I have to put greek
22 matches
Mail list logo