Robert Kern wrote:
> On 2009-07-13 13:20, Robert Cimrman wrote:
>> Hi all,
>>
>> I would like to use griddata() to interpolate a function given at
>> specified points of a bunch of other points. While the method works
>> well, it slows down considerably as the numb
Hi all,
I would like to use griddata() to interpolate a function given at
specified points of a bunch of other points. While the method works
well, it slows down considerably as the number of points to interpolate
to increases.
The dependence of time/(number of points) is nonlinear (see the
Ondrej Certik wrote:
> On Fri, May 22, 2009 at 3:37 PM, Ondrej Certik wrote:
>> Thanks a lot John. I tried that and it does what I want. I just need
>> to convert and probably average my 3 different values at the 3
>> vertices of the triangle and color the triangle with that color. When
>> I get i
Ryan May wrote:
> On Thu, May 7, 2009 at 12:39 PM, Eric Firing wrote:
>
>> In case you are not receiving the automatic svn commit messages: yesterday
>> I took the liberty of renaming log.py to multiprocess.py, because as far as
>> I could see the former gave no clue as to the point of the exampl
Ryan May wrote:
On Wed, May 6, 2009 at 8:53 AM, Robert Cimrman wrote:
Ryan May wrote:
On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman
wrote:
Just for the record: Ryan May's example in this thread, that uses pipes,
inspired me to try pipes as well, instead of queues
(multiprocessing
william ratcliff wrote:
I'd like to see it ;>
Here you are...
r.
import time
from multiprocessing import Process, Pipe
from Queue import Empty
import numpy as np
import pylab
import gobject
class ProcessPlotter(object):
def __init__(self):
self.x = []
self.y = []
def
Ryan May wrote:
> On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman wrote:
>>
>> Just for the record: Ryan May's example in this thread, that uses pipes,
>> inspired me to try pipes as well, instead of queues
>> (multiprocessing.Pipe instead of Queue) and the "
Robert Cimrman wrote:
> Hi Ryan,
>
> Ryan May wrote:
>> On Thu, Apr 23, 2009 at 4:16 PM, Esmail wrote:
>>
>>> Ryan May wrote:
>>>> Try this:
>>>>
>>>>
>>> http://matplotlib.sourceforge.net/examples/animation/simple_anim_
Ryan May wrote:
> On Fri, Apr 24, 2009 at 5:52 AM, Esmail wrote:
>
>> Ryan May wrote:
>>> Any idea if it's possible to finish a Python program but still have
>> the
>>> graph showing?
>>>
>>> FWIW, I'm doing this under Linux.
>>>
>>>
>>> You'd have to run the plotting in a separate pr
Esmail wrote:
> Robert Cimrman wrote:
>> This is exactly what I have tried/described in [1], using the
>> multiprocessing module. It sort of works, but I have that hanging
>> problem at the end - maybe somebody jumps in and helps this time :)
>>
>> r.
>>
Hi Ryan,
Ryan May wrote:
> On Thu, Apr 23, 2009 at 4:16 PM, Esmail wrote:
>
>> Ryan May wrote:
>>> Try this:
>>>
>>>
>> http://matplotlib.sourceforge.net/examples/animation/simple_anim_gtk.html
>>> (If not gtk, there are other examples there.)
>> Thanks Ryan, that'll give me some idea with regar
Hi all!
I have a long running (non-GUI) python application, that needs to plot
some curves and update them in time, as new data are computed. I'm
well aware of ezplot, but would like to use a
matplotlib-multiprocessing-only solution, as I have already enough
dependencies.
The best thing I have
Eric Firing wrote:
> Robert Cimrman wrote:
>> Eric Firing wrote:
>>> I'm not sure if this is addressing your situation, but the simplest
>>> way to adjust all font sizes is to use the rcParams dictionary,
>>> either directly or via the matplotlibrc
Eric Firing wrote:
> I'm not sure if this is addressing your situation, but the simplest way
> to adjust all font sizes is to use the rcParams dictionary, either
> directly or via the matplotlibrc file. If the default font sizes for
> various items are specified using "medium", "large", etc, in
John Hunter wrote:
> On Thu, Jul 3, 2008 at 8:42 AM, John Kitchin <[EMAIL PROTECTED]> wrote:
>> Thanks Matthias. That is a helpful example.
>>
>> I have been trying to figure out how to recursively examine all the objects
>> in fig to see if there is a particular settable property. It seems like th
John Hunter wrote:
> On Jan 29, 2008 8:33 AM, Robert Cimrman <[EMAIL PROTECTED]> wrote:
>> Is there a way of simultaneously setting both xdata and ydata of a line?
>> I need to animate a line with varying number of points in each frame.
>
> line.set_data(xdata, ydata)
&
Is there a way of simultaneously setting both xdata and ydata of a line?
I need to animate a line with varying number of points in each frame.
regards,
r.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges.
Hi mpl'ers,
I have noticed that I keep setting the font size of the figure elements
(axes labels, tick labels, title) so often that it would deserve a
function, or better an Axes method to do the same. I am aware of the
matplotlibrc settings, but I need something to play with after a figure
is dra
Bill Baxter wrote:
> gah! bitten by reply to sender once again.
Yes, this is a bit annoying.
> -- Forwarded message --
> From: Bill Baxter <[EMAIL PROTECTED]>
> Date: Mar 24, 2007 12:09 PM
> Subject: Re: [Matplotlib-users] interactive plots again
> To
Maybe I have reinvented the wheel, but I find the attached code snippet
very useful.
I have modified a bit the recipe at
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65222
to be used in the following situation:
You plot (interactively) something in a main program, which than works
heavi
Hello,
I am using the OO interface to plot some data in logarithmic y-scale.
The data displayed are almost constant but not entirely, see the
attached image. In order to see the details, I would like to do
something like 'axis( 'image' )' for the yaxis. I have tried to play
with axes.set_ylim(), a
Eric Firing wrote:
> Robert Cimrman wrote:
> [...]
>> What could be done, though, is to raise an exception explaining that
>> sparse matrices and the image mode don't like each other; as it is,
>> the function spy3 just dies on asarray (should be st. like asarra
Eric Firing wrote:
> Robert Cimrman wrote:
>> Eric Firing wrote:
>>> Robert and any other spy users:
>>>
>>> I have committed to svn a new axes method, spy3, that combines a
>>> modification of the functionality of both spy and spy2. I hope you
Eric Firing wrote:
> Robert and any other spy users:
>
> I have committed to svn a new axes method, spy3, that combines a
> modification of the functionality of both spy and spy2. I hope you can
> check it out. If it looks OK, then I would like to simply replace spy
> and spy2 with this combi
Eric Firing wrote:
> One more miscellaneous thought: perhaps spy and spy2 should be
> consolidated into a single function with a kwarg to select the marker
> version or the image version? Their purpose is identical (isn't it?),
> and it would reduce namespace clutter.
one more thing here: usua
Eric Firing wrote:
> Robert Cimrman wrote:
>> John Hunter wrote:
>>>>>>>> "Robert" == Robert Cimrman <[EMAIL PROTECTED]> writes:
>>> Robert> BTW would you consider changing the definition of spy(2)
>>> Robert> as
John Hunter wrote:
>>>>>> "Robert" == Robert Cimrman <[EMAIL PROTECTED]> writes:
>
>
> Robert> BTW would you consider changing the definition of spy(2)
> Robert> as shown below, so that one could specify what 'to be a
>
John Hunter wrote:
>> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes:
>
> Eric> Yes, it should be !=0. The purpose is to show how sparse a
> Eric> matrix is--how much is filled with zeros--by displaying the
> Eric> non-zero entries.
>
> OK I fixed it. Thanks.
Thanks!
BTW wou
28 matches
Mail list logo