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