[Matplotlib-users] Continuously varying line colors?

2009-05-04 Thread Erik Tollerud
I'm hoping to generate a line plot where the color of each pixel on the plot is given by linearly interpolating the colormap from each point specified in the line, instead of having the whole line be a solid color. I can "mock this up" by doing a scatter plot where the points are much closer toget

Re: [Matplotlib-users] Continuously varying line colors?

2009-05-04 Thread Sandro Tosi
Hi Erik, On Mon, May 4, 2009 at 09:22, Erik Tollerud wrote: > I'm hoping to generate a line plot where the color of each pixel on > the plot is given by linearly interpolating the colormap from each > point specified in the line, instead of having the whole line be a > solid color.  I can "mock t

[Matplotlib-users] I need all value on X(hours, minutes) label

2009-05-04 Thread Olivier Benoist
Hi, I'm new with matplotlib. I need to make a graph with the X axis represents time in hours and minutes. My script don't works, I want to display all the values of time that I have. I use a list of string like this : t=['0015', '0030', '0045', '0100', '0115', '0130', '0145', '0200', '0215', '0230

Re: [Matplotlib-users] mathtext and py2exe

2009-05-04 Thread Olivier Benoist
Hi, Could you send your setup. I'm not expert but I can check it. /olivier -Original Message- From: sordnay [mailto:sord...@gmail.com] Sent: jeudi 30 avril 2009 18:23 To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] mathtext and py2exe hello, I have written a pro

[Matplotlib-users] mpl sphinx extension

2009-05-04 Thread Timmie
Hello, why is the matplotlib.sphinxext.mathmpl been taken off the SVN repository: https://matplotlib.svn.sourceforge.net/svnroot/ matplotlib/trunk/matplotlib/doc/sphinxext/ I have been using it to parse formulas in my documentation source. It is still used by the Sphinx configuration from mpl svn

[Matplotlib-users] latex rendering weirdness

2009-05-04 Thread Willi Richert
Hi, why is $\sum M_\theta$ rendered correctly, but $M_\theta$" is printed as "_\theta$"? Regards, wr -- Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity feature

Re: [Matplotlib-users] Embed in GTK + dynamic plot

2009-05-04 Thread Sandro Tosi
Hi John, On Sun, May 3, 2009 at 00:21, John Hunter wrote: > On Sat, May 2, 2009 at 9:42 AM, Sandro Tosi wrote: >> >> Hi all! >> I'd like to embed a mpl graph into a GTK application (and for that >> embedding_in_gtk*.py examples are fine) but I would also like to >> dynamically update the graph w

Re: [Matplotlib-users] latex rendering weirdness

2009-05-04 Thread Matthias Michler
Hello, could you please provide a stand-alone example of what is failing and what version/ backend you are using? for me the following works (with mpl-0.98.6svn and backend 'GTKAgg'): text(0.25, 0.75, r"$M_\theta$") regards Matthias PS: You can access the used backend and the matplotlib versi

Re: [Matplotlib-users] mpl sphinx extension

2009-05-04 Thread Jae-Joon Lee
I believe that it is just moved to another directory (lib/matplotlib/sphinxext). http://www.nabble.com/Re%3A-Sphinx-custom-extension-mess%2C-and-patches-p22037746.html Regards, -JJ On Mon, May 4, 2009 at 11:02 AM, Timmie wrote: > Hello, > why is the matplotlib.sphinxext.mathmpl been taken

Re: [Matplotlib-users] Continuously varying line colors?

2009-05-04 Thread Ryan May
On Mon, May 4, 2009 at 2:22 AM, Erik Tollerud wrote: > I'm hoping to generate a line plot where the color of each pixel on > the plot is given by linearly interpolating the colormap from each > point specified in the line, instead of having the whole line be a > solid color. I can "mock this up"

[Matplotlib-users] numpy and lapack on linux

2009-05-04 Thread Nathaniel Echols
I need to distribute matplotlib as part of a large and somewhat heterogeneous package of Python-based software. On Macs, lapack is installed by default, and I can rely on the linking working regardless of which OS version it was compiled on (we use 10.4.11, but it runs fine on 10.5). On Linux, it

Re: [Matplotlib-users] numpy and lapack on linux

2009-05-04 Thread Matthieu Brucher
Hi, Just compile numpy on a system that doesn't have lapack3 installed. Matthieu 2009/5/4 Nathaniel Echols : > I need to distribute matplotlib as part of a large and somewhat > heterogeneous package of Python-based software.  On Macs, lapack is > installed by default, and I can rely on the linki

Re: [Matplotlib-users] Fast imshow plotting

2009-05-04 Thread Joey Wilson
Eric and Thomas, Thanks for your help. I was able to get it plotting MUCH faster. Here's my code: #!/usr/bin/env python from pylab import * from scipy import * ion() img = standard_normal((50,100)) image = imshow(img,interpolation='nearest',animated=True,label="blah") for k in range(1,100):

Re: [Matplotlib-users] numpy and lapack on linux

2009-05-04 Thread Nathaniel Echols
On Mon, May 4, 2009 at 10:50 AM, Matthieu Brucher < matthieu.bruc...@gmail.com> wrote: > Just compile numpy on a system that doesn't have lapack3 installed. > Unfortunately, this is going to be difficult - our build process is very automated (done every night) and we use these systems for other t

[Matplotlib-users] Basemap - plot on a polar figure

2009-05-04 Thread jtamir
Hello, Is it possible to have basemap plot in the usual way on a polar-projection subplot? I want to do something like this: fig = plt.figure(figsize) ax = fig.add_subplot(111, polar=True) m = Basemap(...) m.drawcoastlines(...) etc. The reason I want to have a polar-projection plot is because I

Re: [Matplotlib-users] Basemap - plot on a polar figure

2009-05-04 Thread Jeff Whitaker
jtamir wrote: > Hello, > > Is it possible to have basemap plot in the usual way on a polar-projection > subplot? > No. > I want to do something like this: > fig = plt.figure(figsize) > ax = fig.add_subplot(111, polar=True) > m = Basemap(...) > m.drawcoastlines(...) > etc. > > The reason I want

[Matplotlib-users] how to center a legend

2009-05-04 Thread Alan G Isaac
The docs http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend suggest that loc=(0.5,0.5) is equivalent to loc='center' but it is not. How can I center the legend relative to the x-axis? It seems to me that I need to be able to set not only the coordinates but also what p

Re: [Matplotlib-users] how to center a legend

2009-05-04 Thread Jae-Joon Lee
On Mon, May 4, 2009 at 10:47 PM, Alan G Isaac wrote: > The docs > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend > suggest that > loc=(0.5,0.5) > is equivalent to > loc='center' > but it is not.  How can I center the legend > relative to the x-axis? > As you may ha