Re: [Matplotlib-users] Getting data from a figure

2007-03-30 Thread Richard Brown
On 30/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Not sure what region[:] is supposed to achieve. You are creating a copy > with the same name, so you are over-riding the original variable. > That doesn't seem to be the case - it returns the right thing on the first call - i.e. region

[Matplotlib-users] Getting data from a figure

2007-03-29 Thread Richard Brown
[round(i) for i in gca().axis()] close(gcf()) # Connect keypressed to event handler connect('key_press_event', keypressed) show() return region thanks, Richard -- Richard Brown Ph.D. Candidate

Re: [Matplotlib-users] imshow, matshow coordinate system

2007-03-25 Thread Richard Brown
On 23/03/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Richard, > > I have made the requested change to imshow, so it is consistent with the > new matshow, and I think it makes much more sense this way--but note > that it depends on your rc value for image.origin. So, whenever you get > mpl from sv

Re: [Matplotlib-users] imshow, matshow coordinate system

2007-03-22 Thread Richard Brown
On 22/03/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Richard Brown wrote: > > Hi there, > > > > I'm pretty new to python; I'm in the process of switching from Matlab. > > I do quite a bit of image processing in my research, and while > > pylab/matp

[Matplotlib-users] imshow, matshow coordinate system

2007-03-21 Thread Richard Brown
e always adding 0.5 to things to make them appear in the right places? Thanks, I appreciate any help Richard -- Richard Brown Ph.D. Candidate Dept. of Mechanical Engineering University of Canterbury, NZ - Take Surveys. Earn