> Jouni K. Sepp?nen wrote:
>
>> Jordan Dawe writes:
>>
>>
>>> Contourf plots that I output in vector format files have little
>>> triangular glitches at the contour boundaries if the contoured array
>>> is larger than about 200x200. Th
I use the python-netcdf4 package in linux.
http://code.google.com/p/netcdf4-python/
You can make a netcdf3-compatible version of the library by installing
with:
python setup-nc3.py install
Jordan
-
This SF.net email is
Eric Firing wrote:
>
> Maybe contour, contourf, and any similar plotting commands that do not
> support zorder as a kwarg should do so? I am not sure if this is
> needed often enough to warrant the extra code and documentation.
I can't speak for other people, but I use this kind of functionality
>
> pc = contour(random.rand(10,10))
> pcf = contourf(random.rand(10,10), cmap=cm.gray)
> # now the contours are on top
>
> for l in pc.collections:
> l.set_zorder(-100)
>
> draw()
> # now the contours are on the bottom
Well, that's certainly kludgey, but it worked great. Thanks.
Jordan
---
Ok, I've spent a while searching through the mailing list archives and I
can't find an answer for this relatively simple problem. I've plotted a
series of contourf and contour plots on the same axes.
First I plot a contourf.
Next a contour on top of it.
Then I want a contourf plotted on top of
Michael Droettboom wrote:
> This is going to be a tricky one, particularly since I don't have
> access to Illustrator. All I know is the eps and pdf output of
> simple_plot.py looks fine for me in ghostscript, acroread, xpdf and
> evince. Even text select copy and paste works fine in acroread
Michael Droettboom wrote:
> I suspect an explicit conversion to str may be required on your
> configuration/platform. (I think you mentioned you were using Windows).
Indeed I am.
> Can you change line 592 of mathtext.py to read:
>
> font = FT2Font(str(basename))
>
> and let me know if that fi
Rob Hetland wrote:
> I really like Arev Sans, but others like the new STIX fonts. This
> setup is for Arev Sans. The important stuff is what begins with
> mathtext. If you want serif fonts, this should be enough to get you
> started on customizing. Just make sure whatever fontset you pick ha
Setting ps.useafm = True while ps.fonttype = 42 allows illustrator to
open the eps files again and gives me back text editing capability, but
I don't have any control over the typeface anymore, it just defaults to
Helvetica.
Jordan
--
Ok... I'm running python 2.5 on winxp. I recently upgraded from
matplotlib 88ish to 91.1, and now the font embedding in eps files no
longer works for me: all fonts end up as paths when I open an eps file
in illustrator, and I can't do any font editing like I could before I
upgraded. I found a
Ok, I compiled matplotlib from source, and installed it into my home
directory. import matplotlib works fine, but from pylab import * returns
>>> from pylab import *
Traceback (most recent call last):
File "", line 1, in
File "/home/users/freedryk//lib/python/pylab.py", line 1, in
fro
I've been trying to plot a pcolor over a contourf with a masked array in
the pcolor so that parts of the contour will show through underneath,
but whenever I try to do this the pcolor wipes out the contourf. I can
do this fine with a contourf over another contourf, but I'm plotting
model topog
So I've got a plot with a contour and a contourf on it. The contour
always appears on top of the contourf, no matter what order I issue the
commands in; I want to use the contourf to block out part of the
contour. ContourSets don't appear to have a zorder. How do I do this?
Jordan
-
So I have a contourf plot and I am resetting the ylims so as to only
display a subset of the full contourf plot. Is there anyway to set norm
and the colorbar so they take their colormapping settings using the data
currently on display? By which I mean: the full dataset has a range of
260-320.
14 matches
Mail list logo