[Matplotlib-users] can't get basemap working: undefined symbol: PyUnicodeUCS4_DecodeUTF8

2009-09-12 Thread nbv4
I was able to get it working on my home machine, but can't get it installed on my webhost. I get this error when I try to import the module: -- Python 2.6 (r26:66714, Apr 30 2009, 20:04:43) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type "help", "copyr

[Matplotlib-users] plotting asymmetric error bars?

2009-09-12 Thread per freem
hi all, i am trying to plot asymmetric yaxis error bars. i have the following code: import matplotlib.pyplot as plt a = array([[ 0.5, 1.5], [ 0.7, 2.2], [ 2.8, 3.1]]) plt.errorbar([1,2,3],[1,2,3],yerr=a) where each element in the list represents the -yerror, +yerror, like the do

Re: [Matplotlib-users] Math text produces garbage output

2009-09-12 Thread Kamran Riaz Khan
On 09/11/2009 10:51 PM, Michael Droettboom wrote: > The log doesn't show any actual plotting. Did you run the same example > with debug-annoying turned on? Turning debugging on shouldn't change > any behavior -- only output more debugging information to the console. There seems to be something r

Re: [Matplotlib-users] Problem in svn install

2009-09-12 Thread Jouni K . Seppänen
davide lasagna writes: > gcc: error trying to exec 'cc1plus': execvp: No such file or directory Sounds like you don't have a complete g++ install. Since you mentioned Ubuntu, I suppose the command you need to run is sudo apt-get install build-essential g++ and perhaps also sudo apt-ge

[Matplotlib-users] Problem in svn install

2009-09-12 Thread davide lasagna
Hi everybody, I have a problem in building matplotlib from svn sources. Here is the output of the build process. ### smif1...@ubuntu [14:11:05] ~/cvs/matplotlib :sudo python setupegg.py develop ==

Re: [Matplotlib-users] plt.gray dont' work with plt.scatter?

2009-09-12 Thread lotrpy
Thanks, work like a charm. On Sat, Sep 12, 2009 at 4:06 PM, Gary Ruben wrote: > gray() sets the default colormap for raster-based plot commands like > imshow(), matshow() and figimage(). For scatter(), you need to set the > colors of plot elements invidually. Setting the facecolor in the scatter

Re: [Matplotlib-users] plt.gray dont' work with plt.scatter?

2009-09-12 Thread Gary Ruben
gray() sets the default colormap for raster-based plot commands like imshow(), matshow() and figimage(). For scatter(), you need to set the colors of plot elements invidually. Setting the facecolor in the scatter() command will work for the example you tried: scatter(x,y,s=area, marker='^', fac