Jouni K. Sepp?nen wrote:
Jordan Dawe jd...@eos.ubc.ca 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. The same files in png format are
perfect, even at very
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
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
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 in
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 fixes
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 has
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
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 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 stdin, line 1, in module
File /home/users/freedryk//lib/python/pylab.py, line 1, in
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
10 matches
Mail list logo