Re: [Matplotlib-users] the problem about axe

2009-05-14 Thread John Hunter
On Thu, May 14, 2009 at 7:59 PM, GoogleWind wrote: > > Yeah, Thank you. > This works. When I set aspect='auto', the im will not changed when I zoom in > or out.  However another problem appears. When I changed the size of the > frame. The length to width ratio is changed. So the map get an unexpec

Re: [Matplotlib-users] the problem about axe

2009-05-14 Thread GoogleWind
Yeah, Thank you. This works. When I set aspect='auto', the im will not changed when I zoom in or out. However another problem appears. When I changed the size of the frame. The length to width ratio is changed. So the map get an unexpected shape. Is there other suggestion to avoid this. Huang. -

Re: [Matplotlib-users] the problem about axe

2009-05-14 Thread John Hunter
On Thu, May 14, 2009 at 8:44 AM, John Hunter wrote: > I'm not 100% what problem you are describing, but my hunch is that you > want aspect='equal' as a kwarg to imshow. Sorry, I meant aspect='auto' JDH -- The NEW KODAK

Re: [Matplotlib-users] the problem about axe

2009-05-14 Thread John Hunter
On Wed, May 13, 2009 at 7:50 PM, GoogleWind wrote: > > hello everyone, > > I have use maplotlib to show an image. the image is a map. > The problem is when I zoom in the map, The extent of self.ax changes to fix > my selected. However, I want the extent of self.ax stand unchanged. Only the > map's

[Matplotlib-users] the problem about axe

2009-05-14 Thread GoogleWind
hello everyone, I have use maplotlib to show an image. the image is a map. The problem is when I zoom in the map, The extent of self.ax changes to fix my selected. However, I want the extent of self.ax stand unchanged. Only the map's extent changed. Is there any suggestion? self.fig = F