[Matplotlib-users] How to plot Chebyshev polynolmials

2012-01-10 Thread Fabien Lafont
I'm trying to plot Chebyshev polynolmials using: numpy.polynomial.Chebyshev: import math from numpy import * from numpy import polynomial as pol from pylab import * from scipy import * from scipy import optimize import warnings warnings.simplefilter('ignore', np.RankWarning) test = pol.Chebyshe

Re: [Matplotlib-users] How to plot Chebyshev polynolmials

2012-01-10 Thread Daniel Hyams
I think that you're misusing Chebyshev (do you really only want to give "3" as a coefficient..which is just the constant function 3), and you have to evaluate it in order to give matplotlib some x and y data to plot. from matplotlib import pyplot as plt import numpy as np x = np.linspace(-1.0,1.0

Re: [Matplotlib-users] How to plot Chebyshev polynolmials

2012-01-10 Thread Fabien Lafont
No I just want to plot the third Shebitchev polynomial. 2012/1/10 Daniel Hyams : > I think that you're misusing Chebyshev (do you really only want to give "3" > as a coefficient..which is just the constant function 3), and you have to > evaluate it in order to give matplotlib some x and y data to

[Matplotlib-users] Fwd: How to plot Chebyshev polynolmials

2012-01-10 Thread josef . pktd
I'm not used to reply-all -- Forwarded message -- From: Date: Tue, Jan 10, 2012 at 10:20 AM Subject: Re: [Matplotlib-users] How to plot Chebyshev polynolmials To: Fabien Lafont On Tue, Jan 10, 2012 at 9:46 AM, Fabien Lafont wrote: > No I just want to plot the third Shebitche

Re: [Matplotlib-users] How to plot Chebyshev polynolmials

2012-01-10 Thread Daniel Hyams
Regardless of exactly which polynomial you are after, I've showed you how to plot a cheb. poly. Can you not work with the code given and plot the exact variation of polynomial you want? On Tue, Jan 10, 2012 at 9:46 AM, Fabien Lafont wrote: > No I just want to plot the third Shebitchev polynomi

[Matplotlib-users] font cache errors, again

2012-01-10 Thread Nat Echols
I am still seeing the error below in matplotlib-1.1.0 - the bug occurs when the user installs our software to the directory "version1", uses that installation, then installs "version2" and removes "version1", which breaks matplotlib because (unlike any other Python module I've ever used) the absolu

[Matplotlib-users] Bug in griddata

2012-01-10 Thread Ethan Swint
Hi- I was working off of the example listed at http://matplotlib.sourceforge.net/examples/pylab_examples/griddata_demo.html, adapting it to my own data, and encountered the following error on MLAB 1.1.0, Python 2.7.2: from numpy.random import uniform, seed from matplotlib.mlab import griddata

Re: [Matplotlib-users] Bug in griddata

2012-01-10 Thread Paul Ivanov
Thanks for the report, Ethan, Ethan Swint, on 2012-01-10 16:34, wrote: > Can anyone else reproduce? Confirming, this is a bug. We need to change the matplotlib code, but I'm not sure how to proceed. I've filed it as the ominously numbered matplotlib issue #666 https://github.com/matplotlib/matp