Re: [Matplotlib-users] Fonts for eps files

2008-11-26 Thread Michael Droettboom
If you have ps.useafm set to True, (and text.usetex set to False), the mathtext renderer will stick to the standard 35 ps fonts, with the obvious limitations in the number of symbols available, and no radical signs, etc. By default, all math is serif (in this case Times). You can force

Re: [Matplotlib-users] Fonts for eps files

2008-11-26 Thread Michael Droettboom
I can confirm that this is broken in 0.98.3 and fixed in SVN. It's not clear if a simple patch is possible -- the fix actually extends over a number of changesets. If you're able to build from SVN, I'm rather certain that should resolve this issue. Otherwise, you may have to wait for the

[Matplotlib-users] Unable to manipulate tick labels Basemap

2008-11-26 Thread Zane Selvans
I want to change the size of the lat/lon labels on a Basemap map, and from the documentation, it seems like this ought to be possible using drawparallels() and drawmeridians() with a keword argument, e.g.: linmap.drawparallels(range(-90,90,30), labels=[1,0,0,1], fontsize='x- small') but

[Matplotlib-users] Plotting edges between nodes

2008-11-26 Thread Mauro Cavalcanti
Dear ALL, I want to plot lines (edges) between a sequence of points (nodes), using the following code: from pylab import * import matplotlib.pyplot as plt nodes = load('nodes.dat') edges = load('edges.dat') n = nodes.shape[0] fig = plt.figure() ax = fig.add_subplot(1,1,1)

[Matplotlib-users] Plotting w/ cyclic boundaries

2008-11-26 Thread Zane Selvans
Does anybody have a good method for implementing cyclic boundaries in matplotlib axes? It's easy when plotting points to just mod() the values before sending them to the plot, but when drawing lines or patches, it would be nice if there were an underlying mechanism for intelligently

Re: [Matplotlib-users] A wxPython/Matplotlib/Basemap example

2008-11-26 Thread Tim Michelsen
Hello Mauro, I am not just trying, Sorry for disregarding your using the term trying. I am indeed implementing a software package for species distribution mapping and biogeographic analysis, using wxPython/Matplotlib. Thanks for being more specific. There is another program aiming at

[Matplotlib-users] Matplotlib or numpy bug?

2008-11-26 Thread Jesper Larsen
Hi matplotlib users, The script below produces weird arrows when using numpy 1.2.1 and matplotlib trunk. When I reinstall numpy 1.2.0 instead it seems fine. I use the Agg backend. I am not sure where to start in tracking the bug down so I will just post the rather sparse information that I have.

Re: [Matplotlib-users] Matplotlib or numpy bug?

2008-11-26 Thread Eric Firing
Jesper Larsen wrote: Hi matplotlib users, The script below produces weird arrows when using numpy 1.2.1 and matplotlib trunk. When I reinstall numpy 1.2.0 instead it seems fine. I use the Agg backend. I am not sure where to start in tracking the bug down so I will just post the rather