Re: [Matplotlib-users] Autonomous display of image/plot/figure

2008-07-07 Thread Michael McNeil Forbes
Why do you want to "fork" the process? If you just run it in the background it should have the desired effect: from pylab import * x = linspace(-10,10,100) # or load data from a file. y = sin(x) plot(x,y) show() $ python tst.py& Process remains in background running until the user closes th

[Matplotlib-users] Autonomous display of image/plot/figure

2008-07-07 Thread James K. Gruetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not sure if this is the right venue for this question. I've searched the archives, but without success so far. If this is covered there (or elsewhere on the web), I'd apprciate a pointer to it so it doesn't duplicate bandwidth here. Anyway,

Re: [Matplotlib-users] keeping axis settings while adding data

2008-07-07 Thread Lubos Vrbka
hello, > why is it actually not possible to do something like the following piece > of code? > ioff() > plot commands > draw() > ion() actually, i did some test now (modification of the example http://www.scipy.org/Cookbook/Matplotlib/Animations site): from pylab import * ioff() x = arange(0,2*

Re: [Matplotlib-users] Affine transforms and pcolormesh

2008-07-07 Thread Michael Droettboom
I think this was just an oversight in the refactoring of transformations for 0.98. This should work now in SVN r5716. Look here if you want to patch your local copy --> http://matplotlib.svn.sourceforge.net/viewvc/matplotlib?view=rev&revision=5716 Cheers, Mike Matthew Turk wrote: > Hi there,

Re: [Matplotlib-users] turn off antialiasing of text

2008-07-07 Thread fkjt79
thank you for the suggestions. from what I can find about cairo i suppose it has the same problem. I think I will add non-antialiased text afterwards, either manually or maybe automated. regards, Felix -- View this message in context: http://www.nabble.com/turn-off-antialiasing-of-text-tp18257

Re: [Matplotlib-users] keeping axis settings while adding data

2008-07-07 Thread Lubos Vrbka
hi, > you can avoid (auto-)rescaling in matplotlib: > --- > import pylab > ax = pylab.subplot(111, autoscale_on=False) > # or for an already existing axes instance 'ax' : ax.set_autoscale_on(False)

Re: [Matplotlib-users] keeping axis settings while adding data

2008-07-07 Thread Matthias Michler
Hi lubos, you can avoid (auto-)rescaling in matplotlib: --- import pylab ax = pylab.subplot(111, autoscale_on=False) # or for an already existing axes instance 'ax' : ax.set_autoscale_on(False)

[Matplotlib-users] keeping axis settings while adding data

2008-07-07 Thread Lubos Vrbka
hi guys, is it somehow possible to force matplotlib (pylab) not to rescale the axes while adding some data to an existing plot? currently i have to do in a cycle (simplified example): for (all data): p_U_ij.append(pylab.plot(r, data) pylab.xlim((0, 10)) pylab.ylim((-5,

[Matplotlib-users] Problem with wxAgg toolbar and py2exe

2008-07-07 Thread Laurent Dufrechou
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 "CommandPa

Re: [Matplotlib-users] findobj in pylab

2008-07-07 Thread Robert Cimrman
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 file. If the default font >>> sizes for variou