Re: [Matplotlib-users] Plotting 3D skymap surfaces

2007-10-09 Thread Pierre GM
On Tuesday 09 October 2007 20:08:29 Adam Mercer wrote: > On 09/10/2007, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > > Adam: If you can convert your coordinates into latitudes and > > longitudes, then you can plot the data with the basemap tookit on your > > choice of map projection (see > > http://

Re: [Matplotlib-users] Plotting 3D skymap surfaces

2007-10-09 Thread Adam Mercer
On 09/10/2007, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Adam: If you can convert your coordinates into latitudes and > longitudes, then you can plot the data with the basemap tookit on your > choice of map projection (see > http://www.scipy.org/Cookbook/Matplotlib/Maps for an example). Followi

Re: [Matplotlib-users] Plotting 3D skymap surfaces

2007-10-09 Thread Adam Mercer
On 09/10/2007, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Adam: If you can convert your coordinates into latitudes and > longitudes, then you can plot the data with the basemap tookit on your > choice of map projection (see > http://www.scipy.org/Cookbook/Matplotlib/Maps for an example). Thats j

Re: [Matplotlib-users] Plotting 3D skymap surfaces

2007-10-09 Thread Jeff Whitaker
Adam Mercer wrote: > Hi > > I have some skymap data, i.e. theta, phi and some intensity that I > would like to plot on the surface of a sphere, does matplotlib support > plotting on the surface of a sphere? I've looked through the examples > and can't seem to find anything. > > Any help would be g

[Matplotlib-users] Plotting 3D skymap surfaces

2007-10-09 Thread Adam Mercer
Hi I have some skymap data, i.e. theta, phi and some intensity that I would like to plot on the surface of a sphere, does matplotlib support plotting on the surface of a sphere? I've looked through the examples and can't seem to find anything. Any help would be greatly appreciated. Cheers Adam

Re: [Matplotlib-users] [Mac OS 10.4.10, Python 2.5] LineCollection error

2007-10-09 Thread David Goldsmith
> Hi! I have some code importing MPL and wxmpl; presently, I have > version 0.90.1 of the former installed and 1.2.8 of the latter. I > hadn't run this code in a while; when I last did, in the late spring > sometime, it worked fine. Now, when I do (from the command line), a > call in it to .

Re: [Matplotlib-users] matplotlib.use() error

2007-10-09 Thread John Hunter
On 10/9/07, Michael Droettboom <[EMAIL PROTECTED]> wrote: > I don't know of any way to side step this -- for various reasons, the > backend must be known during pylab initialization. It might be possible > with fairly significant refactoring... maybe someone has looked deeper > into this than I h

Re: [Matplotlib-users] matplotlib.use() error

2007-10-09 Thread Michael Droettboom
Chris wrote: > Updating matplotlib with a new SVN build a couple days ago induced > the following error: > > RuntimeError: matplotlib.use() must be called *before* pylab > or matplotlib.backends is imported for the first time. > > This has not occurred before. Am I to understand that once pylab

[Matplotlib-users] matplotlib.use() error

2007-10-09 Thread Chris
Updating matplotlib with a new SVN build a couple days ago induced the following error: RuntimeError: matplotlib.use() must be called *before* pylab or matplotlib.backends is imported for the first time. This has not occurred before. Am I to understand that once pylab is imported, you cannot cha

Re: [Matplotlib-users] Problem with .png files?

2007-10-09 Thread Michael Droettboom
Unfortunately, I'm not able to reproduce this here with the .py you attached. Both SVN r3926 (before the PNG resolution change) and SVN r3927 (after the PNG resolution change) work for me. Are you comparing those two SVN revisions, or SVN vs. 0.90.1? I can confirm that the PNG you attached is