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
[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
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
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
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