Re: [Matplotlib-users] realtime plotting was working with matplotlib 0.99.1.1 and it doesn't with matplotlib 1.0.0

2010-08-27 Thread Chiara Caronna
bject: Re: [Matplotlib-users] realtime plotting was working with matplotlib 0.99.1.1 and it doesn't with matplotlib 1.0.0 To: chiaracaro...@hotmail.com CC: matplotlib-users@lists.sourceforge.net On Fri, Aug 27, 2010 at 9:26 PM, Chiara Caronna wrote: Hi all, I have a script to update

Re: [Matplotlib-users] realtime plotting was working with matplotlib 0.99.1.1 and it doesn't with matplotlib 1.0.0

2010-08-27 Thread Chiara Caronna
otlib-users@lists.sourceforge.net On Fri, Aug 27, 2010 at 9:26 PM, Chiara Caronna wrote: Hi all, I have a script to update a plot in real time. It was working fine with matplotlib 0.99.1.1 but it doesn't work anymore with the new version. Here is the script: import numpy as n import

[Matplotlib-users] realtime plotting was working with matplotlib 0.99.1.1 and it doesn't with matplotlib 1.0.0

2010-08-27 Thread Chiara Caronna
Hi all, I have a script to update a plot in real time. It was working fine with matplotlib 0.99.1.1 but it doesn't work anymore with the new version. Here is the script: import numpy as n import pylab as p x=n.arange(10) y=n.random.randn(10) p.ion() fig=p.figure(1) ax=fig.add_subplot(111) lin

[Matplotlib-users] updating an image plot

2010-05-21 Thread Chiara Caronna
Hi, I am trying to update the image plotted in a figure. From what I understood, this code should do the job: import pylab as p image=p.zeros((20,20)) p.ion() ax=p.imshow(image) p.draw() for i in range(10): print i p.ion() image[i,:]=i ax.set_array(image) p.draw() But the image is not u

Re: [Matplotlib-users] changing ticklabels color

2008-05-22 Thread Chiara Caronna
> p.setp(ax1.get_yticklabels(), color='r') This worked! Thanks a lot! Chiara > To: matplotlib-users@lists.sourceforge.net > From: [EMAIL PROTECTED] > Date: Thu, 22 May 2008 17:52:09 +0300 > Subject: Re: [Matplotlib-users] changing ticklabels color > > Chiara Car

[Matplotlib-users] changing ticklabels color

2008-05-22 Thread Chiara Caronna
Hello, I would like to change the color of the yticklabels. I tried to use this command: ax1=p.subplot(212) ax1.set_xlabel('t [sec]') ax1.set_ylabel('g^2(q,t)') ax1.set_yticklabels(color='r') but it gives an error: TypeError: set_yticklabels() takes at least 2 non-keyword arguments (1 given) i

Re: [Matplotlib-users] Polygon masking possible?

2008-03-28 Thread Chiara Caronna
TECTED] > > On Friday 14 March 2008 16:44:54 Chiara Caronna wrote: >> I tried ds9 and It looks like this is what I would like to do (though I >> couldn't try funtools, but what you describe is good). DO you think it is >> possible to make something like this with matplotli

Re: [Matplotlib-users] Polygon masking possible?

2008-03-14 Thread Chiara Caronna
rray in ds9, > *. From python, save the array as a file (tofile method, better use > "arr" as an extension) > * in ds9, file-> open others -> open array. You need to select > array dimension, type and endianness of the array. > > Regards, > > -JJ

Re: [Matplotlib-users] Polygon masking possible?

2008-03-08 Thread Chiara Caronna
Hello, I am also interested in masking polygons and defining the polygon by 'clicking' on the image... but I do not know anything about GUI does anyone can help? Is there already something implemented? Thanks! Chiara > Date: Wed, 23 Jan 2008 13:50:15 +1300 > From: [EMAIL PROTECTED] > To: ma

[Matplotlib-users] backends issue

2007-02-21 Thread Chiara Caronna
I have a problem with backend: by default it was Agg; i tried to change the file .matplotlibrc and to put GTKAgg, but as I import pylab I got these errors: >>>from pylab import * Traceback (most recent call last): File "", line 1, in ? File "/usr/local/lib/python2.4/site-packages/pylab.py",

[Matplotlib-users] newbie: easy question (I hope)

2007-02-16 Thread Chiara Caronna
Hello, I would like to plot some data while the interpreter continues calculating... if I just write plot(x,y) show() Then the code stops until I close the window... how should I do? Thanks in advance Chiara _ Don't just search. Fin

[Matplotlib-users] problem with show()

2007-02-05 Thread Chiara Caronna
I, I have a problem with showing plot. When I run this code: figure(1) semilogx(data[:,0],data[:,1]) savefig('try.png') show() It save the plot properly, but it doesn't show it. I tried to run it with "--verbose-helpful" and this is the output: matplotlib data path /usr/local/lib/python2.4/sit