Re: [Matplotlib-users] How to get the value of a cell in pcolormesh

2015-05-24 Thread GoogleWind
Hi Tom, It is nice to receive your hints. I would like to try it. Best regards, Jiacong Huang -- View this message in context: http://matplotlib.1069221.n5.nabble.com/How-to-get-the-value-of-a-cell-in-pcolormesh-tp45499p45610.html Sent from the matplotlib - users mailing list archive at Nabbl

[Matplotlib-users] How to get the value of a cell in pcolormesh

2015-05-11 Thread GoogleWind
Hi everyone! It is cool to use the pcolormesh in matplotlib. However, is there a way to get the i, j indexes of the clicked cell? I have try event.mouseevent.xdata and event.mouseevent.x. But they did not return the index I need. Thanks in advanced for your help. Dr. Jiacong Huang Nanjing Instit

Re: [Matplotlib-users] Visulization of orthogonal grid

2015-05-06 Thread GoogleWind
Dear Eric, Thanks for your nice answer. Exactly what I need. Best regards, Jiacong Huang -- View this message in context: http://matplotlib.1069221.n5.nabble.com/Visulization-of-orthogonal-grid-tp45473p45476.html Sent from the matplotlib - users mailing list archive at Nabble.com. --

[Matplotlib-users] Visulization of orthogonal grid

2015-05-05 Thread GoogleWind
Dear all, Matplotlib currently support the visuliaztion of triangular mesh and square-cell map. Is there any solutions to support the visulization of orthogonal grid as follows, Thanks in advances for your hints. Best

[Matplotlib-users] A imshow map without fill color

2014-09-18 Thread GoogleWind
Dear all, I would like to create imshow map using ax.imshow(arr). However, I got the image as Fig. 1. Is there any setting to get the image as Fig. 2 (i.e., without fill color for the cell). Fig. 1

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

[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