[Matplotlib-users] Axis limits for dynamic plot.

2008-10-08 Thread Venkat Ramanan
Hi all, I'm trying to do a plot which is dynamically updated. However, the axis limits remain fixed even when the data goes out of the current ylim. Is there an easy way to keep the axis limits updated when the data gets updated? I've trivially modified the anim.py example to show the

Re: [Matplotlib-users] Axis limits for dynamic plot.

2008-10-08 Thread Venkat Ramanan
John Hunter wrote: Unfortunatelym the API for the latter has changed somewhat from 0.91 to 0.98, so I hesitate to tell advise you to do this with 0.91 since it will break when you upgrade. Please let me know the instructions as if the version is 0.98. I'll upgrade to it soon. Thanks,

[Matplotlib-users] Compilation problems on Fedora Core2.

2008-10-07 Thread Venkat Ramanan
Hi all, Both the latest matplotlib (0.98.3) and the maintenance release (0.91.4) fail to compile for me with identical error msg. I'm using Fedora Core 2, which I can't upgrade unfortunately. I've installed python2.5.2, numpy-1.1.1, pygtk-2.4 and they seem work ok. The relevant line is, gcc

Re: [Matplotlib-users] Compilation problems on Fedora Core2.

2008-10-07 Thread Venkat Ramanan
versions of pygtk. See here: http://osdir.com/ml/python.matplotlib.general/2004-11/msg00101.html Cheers, Mike Venkat Ramanan wrote: Hi all, Both the latest matplotlib (0.98.3) and the maintenance release (0.91.4) fail to compile for me with identical error msg. I'm using Fedora Core

Re: [Matplotlib-users] Compilation problems on Fedora Core2.

2008-10-07 Thread Venkat Ramanan
Sorry, I seem to have installed pygtk by configure --prefix=/data/opt make make install Bye, Venkat. Venkat Ramanan wrote: Thanks for the quick and helpful pointer. I have a related question not specifically matplotlib related. I installed pygtk-2.4 using python setup.py install

[Matplotlib-users] Installation on Fedora2 etc.

2008-10-05 Thread Venkat Ramanan
Hi all, I'm trying to install the latest matplotlib on a couple of machines. They both run the same OS (an old custom version between Fedora 2 and 3) but the rest of the setup are rather different. For the curious, one is an MR scanner and the other is a developmental machine for compiling

Re: [Matplotlib-users] Cross hair and polygon drawing tools.

2008-01-17 Thread Venkat Ramanan
he said he was using 0.87)... but lasso_demo.py is currently broken on the trunk, and working for me in 0.91.2. I'm looking into it. Cheers, Mike -- Venkat Ramanan, Research Associate, Imaging Research, Sunnybrook Health Sciences Centre, 2075 Bayview Ave, Toronto-M4N3M5 Ontario

Re: [Matplotlib-users] Cross hair and polygon drawing tools.

2007-12-10 Thread Venkat Ramanan
is it supposed to do next. Thanks, Venkat. PS: Sorry for personal post, I meant to post to the list but forgot to 'reply all' Darren Dale wrote: On Friday 07 December 2007 7:19:04 am José Gómez-Dans wrote: Hi, On Thursday 06 December 2007 19:39:59 Venkat Ramanan wrote: I'm looking

Re: [Matplotlib-users] Pan/zoom interferes with user-specified right button callback.

2007-12-10 Thread Venkat Ramanan
If anyone faces a similar issue, there is a solution here. http://scipy.org/Cookbook/Matplotlib/Interactive_Plotting Essentially, we should also check for toolbar.mode Thanks, Venkat. Venkat Ramanan wrote: Hi, I have written a simple image viewing tool with window/level controls linked

[Matplotlib-users] Cross hair and polygon drawing tools.

2007-12-06 Thread Venkat Ramanan
Hi, I'm looking for something analogous to Matlab's ginput() and roipoly(). ginput() basically displays a crosshair on the current figure and allows us to select points by clicking on it. It returns the x,y coordinates of the points. roipoly() allows us to define a polygon by clicking on the

[Matplotlib-users] Pan/zoom interferes with user-specified right button callback.

2007-12-06 Thread Venkat Ramanan
Hi, I have written a simple image viewing tool with window/level controls linked to the right mouse, which generally works okay. But when I use the pan/zoom button, clicking and dragging the right mouse button changes the zoom as intended, but also affects the window/level too which is