Re: [Matplotlib-users] C compiler is being used to compile C++ code.

2009-11-23 Thread David Cournapeau
Dr. David Kirkby wrote: > Well, on SPARC, the Sun compilers are better than gcc, so there really is an > advantage to getting this sorted out. > numscons should support the Sun Studio compiler. > I do not know SCons myself, but I do know that in the Sage project, SCons has > caused many issu

Re: [Matplotlib-users] C compiler is being used to compile C++ code.

2009-11-23 Thread Dr. David Kirkby
Michael Droettboom wrote: > This is a years-old known bug in distutils (which it looks like you've > already commented on...). I've looked at it many times over those > years, and it's really very difficult to fix from outside without > terrible monkey-patching hacks that are certain to break o

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-23 Thread Christoph Gohlke
Should have asked this before: Does your computer's CPU have SSE2 extensions? You can use CPU-Z . It is OK that Dependency Walker does not find MSVCR90.DLL and MSVCP90.DLL for a PYD extension. The extension will use whatever VC90.CRT python26.dll uses at runtime. I am no

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-23 Thread Dilip Warrier
OK, I did the check that you mentioned (deleted the entire directory C:\Python26 before reinstalling Python). That didn't help. I ran Dependency Walker on _path.pyd and got the following: First, it lists the four DLLs that it did not find: MSVCR90.DLL, MSVCP90.DLL, DWMAPI.DLL, EFSADU.DLL. Furt

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-23 Thread Dilip Warrier
Yes. import numpy, matplotlib works fine. import matplotlib.pylab does not work. Thanks, Dilip. - Original Message From: Alan G Isaac To: matplotlib-users@lists.sourceforge.net Sent: Mon, November 23, 2009 2:56:55 PM Subject: Re: [Matplotlib-users] Unable to import matplotlib.pylab in

Re: [Matplotlib-users] add table to axes

2009-11-23 Thread Alan G Isaac
On 11/23/2009 4:33 PM, John Hunter wrote: > Take a look at the table demo: > > http://matplotlib.sourceforge.net/examples/pylab_examples/table_demo.html > All posted versions (PNG, hi res PNG, PDF) are improperly clipped. fwiw, Alan Isaac

Re: [Matplotlib-users] `fig.subplots_adjust` does not behave as advertized

2009-11-23 Thread Jeff Whitaker
Phillip M. Feldman wrote: > Jeff Whitaker wrote: >> Dr. Phillip M. Feldman wrote: >>> The basemap demo `cubed_sphere.py` contains the following line of code: >>> >>>fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, >>> hspace=0) >>> >>> >From the documentation, it would appear th

Re: [Matplotlib-users] bug in run_all.py

2009-11-23 Thread Christopher Barker
Dr. Phillip M. Feldman wrote: > Running C:\Program Files\Python25\python.exe C:\Program > Files\Python25\Examples\basemap-0.99.4\barb_ > demo.py > C:\Program: can't open file 'Files\Python25\python.exe': [Errno 2] No such > file or directory > TEST FAILURE (status=2) This looks like an issue with

Re: [Matplotlib-users] `fig.subplots_adjust` does not behave as advertized

2009-11-23 Thread Phillip M. Feldman
Jeff Whitaker wrote: > Dr. Phillip M. Feldman wrote: >> The basemap demo `cubed_sphere.py` contains the following line of code: >> >>fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, >> hspace=0) >> >> >From the documentation, it would appear that `wspace=0` should >> remove all

Re: [Matplotlib-users] `fig.subplots_adjust` does not behave as advertized

2009-11-23 Thread Dr. Phillip M. Feldman
Dr. Phillip M. Feldman wrote: > The basemap demo `cubed_sphere.py` contains the following line of code: > >fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, > hspace=0) > > >From the documentation, it would appear that `wspace=0` should remove all > horizontal space between the

Re: [Matplotlib-users] `fig.subplots_adjust` does not behave as advertized

2009-11-23 Thread Dr. Phillip M. Feldman
Dr. Phillip M. Feldman wrote: > The basemap demo `cubed_sphere.py` contains the following line of code: > >fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, > hspace=0) > > >From the documentation, it would appear that `wspace=0` should remove all > horizontal space between the

Re: [Matplotlib-users] bug in run_all.py

2009-11-23 Thread Dr. Phillip M. Feldman
Dr. Phillip M. Feldman wrote: > The script run_all.py in the basemap examples does not work when Python > has > been installed to "C:\Program Files\Python25". It appears that this > problem > involves the space in the path. > Phillip: I don't have a windows machine to test on - so could you

Re: [Matplotlib-users] add table to axes

2009-11-23 Thread John Hunter
On Mon, Nov 23, 2009 at 9:20 AM, Sahar wrote: > Hi, > > I'm trying to add some notes in a table to a plot, and I don't know how to > use the "'matplotlib.pyplot.table" command. > I really don't want to use ax.text(...) with different x,y values... > > Any suggestions? Example to table command, ins

Re: [Matplotlib-users] quiver without any scaling

2009-11-23 Thread Xavier Gnata
Hi, Well when you plot, imshow or whatever is matplotlib related, the axes do scale *automatically*. Why should it be different with quiver? I do reproduce your error with axis('tight') Xavier > Hi Xavier (cc list), > > It may be a bug, however I do not know what the default behaviour 'should

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-23 Thread Alan G Isaac
Just to be clear: import numpy, matplotlib works fine? Alan Isaac -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-23 Thread Christoph Gohlke
Please check if there are python26.dll or "Microsoft.VC90.CRT.manifest" files left in your Python directory. If yes, remove those files. If that does not help, run Dependency Walker on python26.dll (should be in your system folder), enable "Full Paths" view and report the MSVCR90.DLL path. It s

Re: [Matplotlib-users] C compiler is being used to compile C++ code.

2009-11-23 Thread Michael Droettboom
I've attached patches against Python 2.5 and 2.6 to that bug. Neither is significantly different from the original patch. http://bugs.python.org/issue1222585 Once doing that, you'll also need to make the following change to matplotlib so that the correct C++ runtime libraries are used. Once I

Re: [Matplotlib-users] Unable to import matplotlib.pylab in Windows

2009-11-23 Thread Dilip Warrier
Christoph, I couldn't get it to work after this download either. Same problem as before. After that, I tried the following: 1. Upgraded to XP Service Pack 3. 2. Uninstalled Python 2.6 and all related packages. 3. Reinstalled Python 2.6.4 with "Install for all users" set. 4. Reinstalled Numpy 1.

Re: [Matplotlib-users] add table to axes

2009-11-23 Thread PHobson
From: Sahar [mailto:sa...@cmt.co.il] Sent: Monday, November 23, 2009 7:20 AM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] add table to axes > Hi, >  > I'm trying to add some notes in a table to a plot, and I don't > know how to use the "'matplotlib.pyplot.table" command

Re: [Matplotlib-users] quiver without any scaling

2009-11-23 Thread Damon McDougall
Hi Xavier (cc list), It may be a bug, however I do not know what the default behaviour 'should' be. You could do: lims = [-4, 4, -4, 4] axis(lims) after calling quiver to see the whole arrow. I did notice that calling axis('tight') threw the following error /Users/Damon/python/lib/matplotlib

[Matplotlib-users] add table to axes

2009-11-23 Thread Sahar
Hi, I'm trying to add some notes in a table to a plot, and I don't know how to use the "'matplotlib.pyplot.table" command. I really don't want to use ax.text(...) with different x,y values... Any suggestions? Example to table command, insert LaTex tables, Etc. Thanks, Sahar

Re: [Matplotlib-users] markerfacecolor in legend

2009-11-23 Thread Zunbeltz Izaola
On Mon, 2009-11-23 at 10:12 +0100, Matthias Michler wrote: > Hi Zunbeltz, > Dear Matthias > you could include some fake-lines outside the visible regionm which get your > favorite label like > > plot([0], [0], label='my favorite label for squares', marker='s', > color='black', mfc='white', me

Re: [Matplotlib-users] GEOS Error

2009-11-23 Thread John Powell
I have also seen this error and I believe it is to do with identical geometries being unioned. I cleaned my dataset using someting like select t1.id from points t1, points t2 where t1.id<>t2.id and st_equals(t1.geom,t2.geom)='t' group by t1.id to find all the duplicates which i then deleted. Th

[Matplotlib-users] markerfacecolor in legend

2009-11-23 Thread Zunbeltz Izaola
Hi, I would like to have a different marker facecolor in the legend that in the plot. Is there any way to change this color? In more detail my problem is the following. I plotted 6 dataset. They are divided in 2 groups; one with blue and the other with red color. In each group I have used 3 dif

Re: [Matplotlib-users] C compiler is being used to compile C++ code.

2009-11-23 Thread Michael Droettboom
This is a years-old known bug in distutils (which it looks like you've already commented on...). I've looked at it many times over those years, and it's really very difficult to fix from outside without terrible monkey-patching hacks that are certain to break on as many systems as they fix. W

Re: [Matplotlib-users] `fig.subplots_adjust` does not behave as advertized

2009-11-23 Thread Jeff Whitaker
Dr. Phillip M. Feldman wrote: > The basemap demo `cubed_sphere.py` contains the following line of code: > >fig.subplots_adjust(bottom=0, left=0, right=1, top=0, wspace=0, hspace=0) > > >From the documentation, it would appear that `wspace=0` should remove all > horizontal space between the subp

Re: [Matplotlib-users] bug in run_all.py

2009-11-23 Thread Jeff Whitaker
Dr. Phillip M. Feldman wrote: > The script run_all.py in the basemap examples does not work when Python has > been installed to "C:\Program Files\Python25". It appears that this problem > involves the space in the path. > Phillip: I don't have a windows machine to test on - so could you pleas

Re: [Matplotlib-users] separate sub-forum for basemap?

2009-11-23 Thread Gary Ruben
IMO I don't think the traffic level on either pure mpl or basemap warrants a split. Gary R. Dr. Phillip M. Feldman wrote: > It seems as though there are enough basemap-related posts that it might be > worth creating a separate basemap-specific sub-forum of the matplotlib > forum. --

Re: [Matplotlib-users] markerfacecolor in legend

2009-11-23 Thread Matthias Michler
Hi Zunbeltz, you could include some fake-lines outside the visible regionm which get your favorite label like plot([0], [0], label='my favorite label for squares', marker='s', color='black', mfc='white', mec='black') and don't use labels for the original data. Kind regards Matthias On Saturd