Re: [Matplotlib-users] plot_date and legend

2008-05-01 Thread John Hunter
On Thu, May 1, 2008 at 4:32 PM, Michael Hearne <[EMAIL PROTECTED]> wrote: > legend(('s1','s2')) > > The resulting legend shows the symbols twice (two little red dots and > two blue ones). Does anyone else get this, and if so, do you know > what the problem is? You can tell the legend how many

Re: [Matplotlib-users] Installing matplotlib

2008-05-01 Thread Jeff Whitaker
Michael Hearne wrote: > Jeff (or anyone) - I recently reinstalled all of my numpy/scipy > related packages, including matplotlib, from a Mac OS X installer > called the SciPy SuperPack. > > (http://macinscience.org/?page_id=6) > > All of the packages he includes work really well. > > However, aft

[Matplotlib-users] Installing matplotlib

2008-05-01 Thread Michael Hearne
Jeff (or anyone) - I recently reinstalled all of my numpy/scipy related packages, including matplotlib, from a Mac OS X installer called the SciPy SuperPack. (http://macinscience.org/?page_id=6) All of the packages he includes work really well. However, after I used easy_install to grab Base

Re: [Matplotlib-users] set_colors() not working for line collection

2008-05-01 Thread Zoho Vignochi
On Thu, 01 May 2008 22:00:33 +, Zoho Vignochi wrote: > Hello: > > I have a script in which I have been using plot to plot numerous lines > on the same graph. I recently wanted to see how Line Collections work so > I tried porting it over. Everything successful except I can't seem to > get eac

[Matplotlib-users] set_colors() not working for line collection

2008-05-01 Thread Zoho Vignochi
Hello: I have a script in which I have been using plot to plot numerous lines on the same graph. I recently wanted to see how Line Collections work so I tried porting it over. Everything successful except I can't seem to get each line to be a different color. Here is the relevant section: # Ma

Re: [Matplotlib-users] plot_date and legend

2008-05-01 Thread Michael Hearne
Contents of matplotlib.__version__" '0.98pre' My Matplotlib is from the SciPy SuperPack for Mac OS X from http://macinscience.org/?page_id=6 On May 1, 2008, at 3:32 PM, Michael Hearne wrote: > I'm noticing strange behavior with the legend function when used in > combination with matplotlib. I

[Matplotlib-users] plot_date and legend

2008-05-01 Thread Michael Hearne
I'm noticing strange behavior with the legend function when used in combination with matplotlib. If I do the following: import datetime from pylab import * date1 = datetime.date( 1952, 1, 1 ) date2 = datetime.date( 2004, 4, 12 ) delta = datetime.timedelta(days=100) dates = drange(date1, date2, d

Re: [Matplotlib-users] logarithmic errorbar plot

2008-05-01 Thread Georg Holzmann
Many thanks ! LG Georg Eric Firing schrieb: > Georg, > > See errorbar_demo.py in the examples directory. The last example sets > the y-axis to a log scale; it should also work if you use the same > method to set both scales to log, so it would be like this: > > ax = subplot(111) > ax.set_xsc

Re: [Matplotlib-users] ttconv/truetype.h compile error using gcc-4.3

2008-05-01 Thread Michael Droettboom
Thanks. Fixed on trunk (r5102) and 0.91.x maintenance branch (r5101). Cheers, Mike Xavier Gnata wrote: > Hi, > > Using gcc-4.3 I get this error : > > tconv/truetype.h:50: error: ISO C++ forbids declaration of ‘FILE’ with > no type > > #include is missing. > > Xavier > > ---

[Matplotlib-users] ttconv/truetype.h compile error using gcc-4.3

2008-05-01 Thread Xavier Gnata
Hi, Using gcc-4.3 I get this error : tconv/truetype.h:50: error: ISO C++ forbids declaration of ‘FILE’ with no type #include is missing. Xavier - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't m

Re: [Matplotlib-users] logarithmic errorbar plot

2008-05-01 Thread Eric Firing
Georg, See errorbar_demo.py in the examples directory. The last example sets the y-axis to a log scale; it should also work if you use the same method to set both scales to log, so it would be like this: ax = subplot(111) ax.set_xscale('log') ax.set_yscale('log') errorbar(t, s+2, e, f, fmt='o'

[Matplotlib-users] logarithmic errorbar plot

2008-05-01 Thread Georg Holzmann
Hallo! Is there any possibility to use a logarithmic errorbar plot ? I want to draw my values as with loglog, but additionally add the variance to the data points as with yerr in errorbar. Or is it maybe better to add the variance manually in a loglog plot - is this possible ? Thanks for any h

Re: [Matplotlib-users] Embedding matplotlib in Qt using Designer

2008-05-01 Thread Darren Dale
Hi Glenn, On Wednesday 30 April 2008 04:32:51 am G Jones wrote: > Hello, > I have decided to switch to the QtAgg backend because the Designer > software is very appealing. I succeeded in adding a custom widget > representing the FigureCanvasQTAgg, but when I compile the ui file, I > see that it tr