Re: [Matplotlib-users] pcolor and imshow PDF sizes

2008-09-09 Thread Eric Bruning
> That said, there has been for some time experimental functionality to > support drawing some elements "pre-rasterized" (meaning as images) to > save on file size. This is actually already working in some backends > (including PDF), it just hasn't been exposed to the user in a nice way > yet. Er

Re: [Matplotlib-users] pcolor and imshow PDF sizes

2008-09-09 Thread Michael Droettboom
pcolormesh is outputting the data as vectors, since the mesh can be non-rectilinear, that's really the only thing that PDF supports. Besides, that's the only way to get a truly resolution-independent PDF. Since imshow is limited to uniform, rectilinear images, and PDF has built-in support for

[Matplotlib-users] pcolor and imshow PDF sizes

2008-09-09 Thread Jose Gómez-Dans
Hi, In a previous email I pointed out that I was having problems with pcolormesh output as a PDF: the files are really big and impractical even for smallish arrays (1000x1000 pixels). I don't have that problem using imshow, which presumably resamples the image or somesuch wizardry :) Here's an e

Re: [Matplotlib-users] pcolor and

2008-03-11 Thread Jeff Whitaker
mbauer wrote: > Matplotlib users, > > I've been using pcolor and pcolormesh to plot results from the NCEP > Reanalysis. I've noticed that the plotted values are slightly offset. > Googling around I see that matlab has this quality, which I assume > matplotlib inherited. > > # If your geo

[Matplotlib-users] pcolor and

2008-03-11 Thread mbauer
Matplotlib users, I've been using pcolor and pcolormesh to plot results from the NCEP Reanalysis. I've noticed that the plotted values are slightly offset. Googling around I see that matlab has this quality, which I assume matplotlib inherited. # If your georeferenced image is in lat/l

[Matplotlib-users] pcolor and pcontour with plotfile?

2008-01-18 Thread Fought, Richard
Is it possible to generate pcolor and pcontour plots from x,y,z grid data using plotfile()? The documentation and examples make it appear to only be useful for multi-line plots. I'm not having much success otherwise. Thanks, Rich -

[Matplotlib-users] pcolor and masked arrays; am I missing something?

2007-09-24 Thread Mike Bauer
Howdy, I'm a recent refugee from GMT (Generic Mapping Tools) and am very happy to have found matplotlib. I've been having one nagging issue however that I must resolve as I require this ability. Basically, I need to mask 2d arrays and plot the result with pcolor via basemap. From the docu

Re: [Matplotlib-users] pcolor and masked arrays; am I missing something?

2007-09-24 Thread Eric Firing
Mike, pcolor has had masked array support for a long time. Please send a minimal but complete example of a script that fails; based on what you sent below, I can't tell what the problem is. Eric Mike Bauer wrote: > Howdy, > > I'm a recent refugee from GMT (Generic Mapping Tools) and am very

[Matplotlib-users] pcolor and masked arrays; am I missing something?

2007-09-24 Thread Mike Bauer
Howdy, I'm a recent refugee from GMT (Generic Mapping Tools) and am very happy to have found matplotlib. I've been having one nagging issue however that I must resolve as I require this ability. Basically, I need to mask 2d arrays and plot the result with pcolor via basemap. >From the documentat