[Matplotlib-users] a patch in matplotlib/__init__.py about get_py2exe_datafiles function

2007-06-26 Thread tocer
Hi, matplotlib developer You know there is a bug about get_py2exe_datafiles in MPL0.90.1. I think I fix it below. - matplotlib/__init__.py -- def get_py2exe_datafiles(): datapath = get_data_path() head, tail = os.path.split(datapath) d = {

Re: [Matplotlib-users] viewing an image cube / sequence with imshow

2007-06-26 Thread Angus McMorland
Hi Jason, On 27/06/07, Jason Addison <[EMAIL PROTECTED]> wrote: I would like to view a 3D array (or a python list of 2D arrays) as a sequence of images using something like imshow. For example, something like this: Are there other packages that do this? I have written an image browser mod

[Matplotlib-users] viewing an image cube / sequence with imshow

2007-06-26 Thread Jason Addison
I would like to view a 3D array (or a python list of 2D arrays) as a sequence of images using something like imshow. For example, something like this: imshow(rand(6,12,12), imagecube=true) then the display would show a 12x12 image, [0, :, :]. Then I could scroll through the other frames to displa

Re: [Matplotlib-users] activate/deactivate RectangleSelector

2007-06-26 Thread Matthias Michler
Hello John, thank you for your reply. I'm not sure I really understood the widgetlock, but I think the following lines seem to do what I want - (Am I right?): +# If canvas was locked +if not self.canvas.widgetlock.available(self): +return True I attached once more my

Re: [Matplotlib-users] 2D Radial Plots

2007-06-26 Thread Andrew Straw
Can you convert your radial coordinates to Cartesian coordinates and use approach #2 here: http://scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data Lorenzo Isella wrote: > Hello, > Sorry for this tread getting quite long, but I am not getting there yet. > Online I found examples lik

Re: [Matplotlib-users] Prompt in MPL - NEVER MIND

2007-06-26 Thread Matthias Michler
Hello John, Hello all, I thought once more about the textbox and added some of your (Johns) features to my class 'InputButton'. Probably my solution isn't the best possible, but I attached this version to express what I'm thinking of and to see what others think about my solution and needed ski

Re: [Matplotlib-users] 2D Radial Plots

2007-06-26 Thread Lorenzo Isella
Hello, Sorry for this tread getting quite long, but I am not getting there yet. Online I found examples like: #! /usr/bin/env python from pylab import * x=arange(-2,2,0.1) y=arange(-2,2,0.05) X,Y=meshgrid(x,y) z=exp(-(X*X + Y*Y)) + 0.6*exp(-((X+1.8)**2 + Y**2)) #contour(x,y,z,arange(0,1,0.1))

Re: [Matplotlib-users] 2D Radial Plots

2007-06-26 Thread Brian
It sounds to me that you want to have a contour plot which takes as input the r,theta, and T. I would suggest just On 6/26/07, Lorenzo Isella <[EMAIL PROTECTED]> wrote: Hello, Thanks for your suggestion, but I still have a problem. Maybe I did not make myself clear (or most likely I have a pro

Re: [Matplotlib-users] activate/deactivate RectangleSelector

2007-06-26 Thread John Hunter
On 6/26/07, Matthias Michler <[EMAIL PROTECTED]> wrote: > Hello everybody, > > first of all: Sorry for posting to my own thread. > But I really like this new feature and may be the last message got lost among > the lots of mpl-mails. So I ask you once more for comments on this issue > (please). > >

Re: [Matplotlib-users] 2D Radial Plots

2007-06-26 Thread Lorenzo Isella
Hello, Thanks for your suggestion, but I still have a problem. Maybe I did not make myself clear (or most likely I have a problem about how to implement your suggestion): actually I have T=T(r,theta) and I would like to make a 2D plot using colors such that one can see that the domain where I am p

Re: [Matplotlib-users] activate/deactivate RectangleSelector

2007-06-26 Thread Matthias Michler
Hello everybody, first of all: Sorry for posting to my own thread. But I really like this new feature and may be the last message got lost among the lots of mpl-mails. So I ask you once more for comments on this issue (please). Is this new feature a bug to some of the RectangleSelector-users o

[Matplotlib-users] NotImplementedError: contourf3D is broken

2007-06-26 Thread Nils Wagner
Hi all, I would like to plot the largest eigenvalue of an affine matrix over a grid. I followed the hints available at http://www.scipy.org/Cookbook/Matplotlib/mplot3D I missed the hint "Note that not all examples on this page are up to date, so some of them might not be working." How can I fix th