On 3/28/07, Niklas Saers <[EMAIL PROTECTED]> wrote:
> Hi guys,
> I'm trying to make a specgram() for some wave samples that I have read into
> 'data' using pyaudiolab's read_frames() (put into wavread())
>
> When I do
>
> from wavread import *
> from pylab import *
> from statistics import *
>
> da
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.
>
> That's exactly what I'd like to do. The problem is that if I run
> gtk.main() (the gtk mai
I forgot "reply to all".
--- Begin Message ---
Evan,
The solution you are proposing below sounds wrong to me--I am concerned
that your color bar is not corresponding to the actual levels you are
plotting on both plots. I think that what you actually need is closer
to the attached script.
E
On 3/28/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> On Mar 27, 2007, at 12:35 PM, Antonino Ingargiola wrote:
[cut]
> You should probably do the acquisition asynchronously by running it
> in a separate thread. That thread would read in the data one point
> at a time, perform any pre-processing, and
On Mar 28, 2007, at 3:41 PM, [EMAIL PROTECTED] wrote:
>
> Hi! I have a wxmpl.PlotPanel object with a cross-hair style cursor
> (without the full screen crosshairs). When I select a rectangle w/
> this
> cursor it zooms in to that rectangle - great! Now, how do I get the
> rectangle coordinates
Hi! I have a wxmpl.PlotPanel object with a cross-hair style cursor
(without the full screen crosshairs). When I select a rectangle w/ this
cursor it zooms in to that rectangle - great! Now, how do I get the
rectangle coordinates (preferably in data coords.) from the rectangle
selection event?
jens haemmerling wrote:
> --
>
> Message: 1
> Date: Wed, 28 Mar 2007 12:39:05 +0200
> From: "jens haemmerling" <[EMAIL PROTECTED]>
> Subject: [Matplotlib-users] surface plot...
> To: matplotlib-users@lists.sourceforge.net
> Message
Hi guys,
I'm trying to make a specgram() for some wave samples that I have
read into 'data' using pyaudiolab's read_frames() (put into wavread())
When I do
from wavread import *
from pylab import *
from statistics import *
data, datasize, samplerate, channels = wavread("myfile.wav")
specgram
Suresh Pillai wrote:
> The new matshow() seems to like ticks every 4 units (or multiples of 4
> for larger scales) rather than the normal, more desirable every 5 units.
>
> Compare:
>
> import pylab
> matrix = pylab.rand(30,30)
> pylab.matshow(matrix)
> pylab.show()
>
> with
>
> import pylab
>
On 3/29/07, John Hunter <[EMAIL PROTECTED]> wrote:
> On 3/28/07, Giorgio F. Gilestro <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I have to question that will help some colleagues/friends of mine to switch
> > to python from matlab.
> >
> > 1 - is there an automatic translator of code from matlab to
> >
The new matshow() seems to like ticks every 4 units (or multiples of 4
for larger scales) rather than the normal, more desirable every 5 units.
Compare:
import pylab
matrix = pylab.rand(30,30)
pylab.matshow(matrix)
pylab.show()
with
import pylab
matrix = pylab.rand(30,30)
pylab.imshow(matrix)
Continuing from a previous thread re the new matshow(), adding a
colorbar() causes the matrix to shrink relative to the colorbar.
Furthermore this colorbar overlaps with the figure title.
For those like me who need a colorbar as a legend and/or who do not want
the matrix visualisation in a new
On 3/28/07, Giorgio F. Gilestro <[EMAIL PROTECTED]> wrote:
> Hi,
> I have to question that will help some colleagues/friends of mine to switch
> to python from matlab.
>
> 1 - is there an automatic translator of code from matlab to
> python/numpy/matplotlib? I believe it would be very easy to imple
Hi,
I have to question that will help some colleagues/friends of mine to switch
to python from matlab.
1 - is there an automatic translator of code from matlab to
python/numpy/matplotlib? I believe it would be very easy to implement due
the similar syntax between the two. I could do something sim
On 3/28/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> You'd almost certainly be happier doing things the other way around.
> Most GUI toolkits are extremely fussy about what thread the GUI event
> loop runs in. For example, wxPython requires App.MainLoop() be
> called from the thread that first imp
On Mar 27, 2007, at 12:35 PM, Antonino Ingargiola wrote:
>
> 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.
You shouldn't have any problems making this happen, although it
Hello to all,
I've thread that apperead some time ago on this list about matlab and
teaching.
I've discovered python recently and translated part of the routine I
use in python (www.chemometrics.it).
Some of my collegue asked me if I could show them how to use python. For
matlab user I guess th
On 3/28/07, Nadia Dencheva <[EMAIL PROTECTED]> wrote:
> Numarray does not work with Python 2.5 on 64 bit Linux.
> If this is a 64 bit Linux machine try using numpy instead.
If this doesn't help, here are the generic "segfault" instructions::
# How to diagnose where a segfault is occurring
First
On 3/28/07, jens haemmerling <[EMAIL PROTECTED]> wrote:
> I have problems to plot surfaces like f(x,y)=x*y...
> for example "plot_surface([1,2,3], [4,5,6], [7,8,9])" doesn't work either...
>
> I imported the following:
>
> from numpy import *
> import pylab as p
> import matplotlib.axes3d as p3
>
On 3/28/07, Mark Bakker <[EMAIL PROTECTED]> wrote:
> Hello List -
>
> A while back, the default font changed in the matplotlibrc file.
> Does anybody recall what the old default font was?
> I kinda liked it better than the current font, but I don't recall what it
> was.
The default font listing wa
Numarray does not work with Python 2.5 on 64 bit Linux.
If this is a 64 bit Linux machine try using numpy instead.
Nadia Dencheva
Matt Beal wrote:
> Having upgraded to 2.5, I get a segfault when running a very simple plot
> script (test.py) at the show() function. Prior to show() I can save to
Hello List -
A while back, the default font changed in the matplotlibrc file.
Does anybody recall what the old default font was?
I kinda liked it better than the current font, but I don't recall what it
was.
Thanks,
Mark
-
hello
I have problems to plot surfaces like f(x,y)=x*y...
for example "plot_surface([1,2,3], [4,5,6], [7,8,9])" doesn't work either...
I imported the following:
from numpy import *
import pylab as p
import matplotlib.axes3d as p3
does anybody have an advice?
--
"Feel free" - 5 GB Mailbox, 5
23 matches
Mail list logo