Re: [Matplotlib-users] Help with transforms of collections

2009-06-22 Thread Tony S Yu
On Jun 22, 2009, at 2:57 PM, Jae-Joon Lee wrote: > The easiest solution I can think of is doing some monkey patching. > > > import matplotlib.pyplot as plt > import matplotlib.transforms as transforms > import numpy as np > fig = plt.figure() > ax = fig.add_subplot(111) > x = [0.25, 0.75, 0.25, 0.

[Matplotlib-users] Basemap & ax parameter : bug or feature ?

2009-06-22 Thread Pierre GM
All (and Jeff W. in particular), It's the time of the year where I have to draw maps in batch. I wrote a script to process some data recorded at various stations, interpolate the data on a grid, draw the corresponding contours on a basemap, add a colorbar, and end with adding some extra info

Re: [Matplotlib-users] Adding grid to animation with blit

2009-06-22 Thread Sandro Tosi
Hi Jae-Joon On Mon, Jun 22, 2009 at 21:14, Jae-Joon Lee wrote: > Without actual code, it is difficult to figure out what the real problem is. sorry I didn't attach a complete example but I would have to strip down a lot :) > Anyhow, did you check the below animation example? > > http://matplotli

Re: [Matplotlib-users] Adding grid to animation with blit

2009-06-22 Thread Jae-Joon Lee
Without actual code, it is difficult to figure out what the real problem is. Anyhow, did you check the below animation example? http://matplotlib.sourceforge.net/examples/animation/animation_blit_gtk.html In the example, the grid is static (i.e., not animated). If what you want is to have the gri

Re: [Matplotlib-users] Help with transforms of collections

2009-06-22 Thread Jae-Joon Lee
Tony, My understanding is that (which might be wrong) drawing collections involves (at least) 2 transforms. The first transform is (mostly) for scaling, and the second transform is for offset. And this seems to be true for PolygonCollection (which scatter creates) as far as I can see. set_transfo

Re: [Matplotlib-users] Segmentation fault using imshow on large image

2009-06-22 Thread keflavich
Anyone else have ideas on how to display large images? Thanks, Adam -- View this message in context: http://www.nabble.com/Segmentation-fault-using-imshow-on-large-image-tp23207792p24152022.html Sent from the matplotlib - users mailing list archive at Nabble.com. -