Re: [Matplotlib-users] Installing matplotlib on mac os 10.6 (Snow Leopard)?

2009-10-14 Thread Pierre de Buyl
Hello, First, make sure that you have installed the Apple Developer Tools, and the BSD components from the DVDs OS X. Then, please indicate your version of python, and of numpy, and give the installation log. Pierre Le 13 oct. 09 à 19:14, William Carithers a écrit : I've not been able

[Matplotlib-users] graphs in memory

2009-10-14 Thread bas pigmans
hi i am trying to use mathplot in a script that has to produce and store about 3000 graphs a time, the problem i have is that something inside mathplot keeps storing in the memory, (eigther the graph or the file to write to i guess...) so once it reached 1.5GB of ram it crashes i hope you can

[Matplotlib-users] Axes3D - Equal Aspect Ratio

2009-10-14 Thread Thomas Lecocq
Dear All, I'm playing around with mpl_toolkits.mplot3d to represent a 3D scatter, but I need the axis' aspect to be 'equal'. I tried to : ax = Axes3D(fig) ax.set_aspect('equal') but it doesn't change anything... Any tips ? Thanks a lot in advance, Thomas ** Thomas

[Matplotlib-users] matplotlib setup is trying to build macosx extension on linux ?

2009-10-14 Thread David Cournapeau
Hi, I updated matplotlib to 0.99.1, and got a weird build failure: gcc: error trying to exec 'cc1obj': execvp: No such file or directory I realized that cc1obj stands for the objective C compiler, and that it is trying to build the macosx extension, but I am on Ubuntu with python 2.6, so it

Re: [Matplotlib-users] graphs in memory

2009-10-14 Thread John [H2O]
Bas, Send an example of how you're handling the plotting. I have had similar issues, but I've finally figured out how to work around it. Basically, look at the Object Oriented examples, rather than using pyplot. What I found to be most efficient was to reuse figures as much as possible, but

Re: [Matplotlib-users] Axes3D - Equal Aspect Ratio

2009-10-14 Thread Tinne De Laet
Hi Thomas,. I'm playing around with mpl_toolkits.mplot3d to represent a 3D scatter, but I need the axis' aspect to be 'equal'. I tried to : ax = Axes3D(fig) ax.set_aspect('equal') axis(scaled) worked for me. Tinne

Re: [Matplotlib-users] matplotlib setup is trying to build macosx extension on linux ?

2009-10-14 Thread Jouni K . Seppänen
David Cournapeau da...@ar.media.kyoto-u.ac.jp writes: This would always build the mac os x extension if options['build_macosx'] is True, which is the case for me (it is set-up in setup.cfg, which I did not touch). The setup.cfg file is included in the distribution by mistake. Just delete it

[Matplotlib-users] Problems with yticklabels in combination with the mpl toolkits

2009-10-14 Thread reyungoo
Hi everyone, I try to make a simple subplot with yticklabels on the left and right side. Everthing is allright, if I use the subplot command, but I need the Subplot command from the mpl toolkits in order to hide some axis. The code below doesn't work for me. Setting label2On=True or False has no

[Matplotlib-users] graphs in memory

2009-10-14 Thread bas pigmans
hi i am trying to use mathplot in a script that has to produce and store about 3000 graps a time, the problem i have is that something inside mathplot keeps stroring in the memmory, (eigther the graph or the file to write to i guess...) so once it reached 1.5GB of ram it crashes i hope you can

Re: [Matplotlib-users] Re verse colormapping/LUT?

2009-10-14 Thread thkoe002
Ok, I'll answer my own question. I got the answer from http://groups.google.com/group/de.comp.lang.python/browse_thread/thread/5d9a315c3d3ac0f5 , already 2 months old, but I wasn't aware. Code snippet below. import Image from pylab import * #generate intensity map

Re: [Matplotlib-users] nonlinear axes for imshow

2009-10-14 Thread thkoe002
Hi JJ, thanks a lot for your help. I think that http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html has everything I need, I'll try it out. The coordinates given by the mouse are off, but that seems to be the case even for the far more elaborate custom

Re: [Matplotlib-users] graphs in memory

2009-10-14 Thread Ryan May
On Mon, Oct 12, 2009 at 8:09 AM, bas pigmans mrnatr...@gmail.com wrote: hi i am trying to use mathplot in a script that has to produce and store about 3000 graps a time, the problem i have is that something inside mathplot keeps stroring in the memmory, (eigther the graph or the file to write

Re: [Matplotlib-users] Problems with yticklabels in combination with the mpl toolkits

2009-10-14 Thread Jae-Joon Lee
If what you want is just to hide some axis, I (as a developer of axes_grid toolkit) strongly recommend you to stick with the mainline matplotlib. You can easily do it with spines. http://matplotlib.sourceforge.net/examples/pylab_examples/spine_placement_demo.html axes_grid toolkit uses

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-14 Thread Uri Laserson
Whenever I use matplotlib, I will perform something like the following in an ipython shell (no special flags): import matplotlib.pyplot as plt fig = plt.figure() do things, like adding axes to the figure and plotting fig.show()# this will cause the window to pop up, and give me back a

[Matplotlib-users] variable line color in plots

2009-10-14 Thread Devin Silvia
Does anyone know if its possible to vary the line color according to some pre-defined array in a standard line plot (either linear or loglog)? As an example, I would like to color the line so that it indicates progression of time. -- View this message in context:

Re: [Matplotlib-users] variable line color in plots

2009-10-14 Thread Chloe Lewis
I use a scatterplot with enough points to overlap into a line. Works best with alpha=0.5 or thereabouts; I generally overplot with a dashed BW line to make the legend understandable. Probability that there is a more elegant way: high. C On Oct 14, 2009, at 9:23 AM, Devin Silvia wrote:

[Matplotlib-users] Log scale for horizontal bar chart (2 bugs)

2009-10-14 Thread Donovan Parks
Hello, I've encountered two bugs recently in matplotlib. I am hoping someone can tell me if these are known issues and if any workarounds have been proposed. The bug occurs for horizontal bar chart where the x-axis has a log scale: from pylab import * val = 3+10*rand(5) # the bar lengths

[Matplotlib-users] Bus error when importing from matplotlib

2009-10-14 Thread William Carithers
I was trying what I thought was a simple import from matplotlib, when I got a Bus error Here's the terminal ouptput. Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. from matplotlib

Re: [Matplotlib-users] Log scale for horizontal bar chart (2 bugs)

2009-10-14 Thread PHobson
-Original Message- From: Donovan Parks [mailto:donovan.pa...@gmail.com] Sent: Wednesday, October 14, 2009 1:31 PM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] Log scale for horizontal bar chart (2 bugs) Hello, I've encountered two bugs recently in

Re: [Matplotlib-users] Bus error when importing from matplotlib

2009-10-14 Thread William Carithers
Ok, after a little more digging I'm really confused. Libfreetype.6.dylib is actually an OS X alias to libfreetype.6.3.2.dylib. Not sure why the error report gave the path to the alias rather than the target file. Bill On 10/14/09 1:37 PM, William Carithers wccarith...@lbl.gov wrote: I was

Re: [Matplotlib-users] matplotlib setup is trying to build macosx extension on linux ?

2009-10-14 Thread David Cournapeau
Jouni K. Seppänen wrote: David Cournapeau da...@ar.media.kyoto-u.ac.jp writes: The setup.cfg file is included in the distribution by mistake. Just delete it before building. Ah, that would explain it, indeed. Thanks, David

Re: [Matplotlib-users] Little issue with blitting technique

2009-10-14 Thread Jae-Joon Lee
On Tue, Oct 13, 2009 at 1:02 PM, Laurent Dufrechou ldufrec...@marport.com wrote: Hello, I've tested so far with wx and QT4 backend. The two are buggy. Easy way to reproduce the bug (another way I mean) ax = p.subplot(212) ax2 = p.subplot(211) On mac with wxgtk, it works fine. Maybe this

Re: [Matplotlib-users] [Solved] Little issue with blitting technique

2009-10-14 Thread Jae-Joon Lee
On Tue, Oct 13, 2009 at 5:06 PM, Laurent Dufréchou laurent.dufrec...@gmail.com wrote: Hey, coparing on how GTK2 example is done I've seen a difference between the two! In QT4Agg example and WX example the code use: canvas.copy_from_bbox(ax.bbox) replacing all occurrence of ax.bbox with

Re: [Matplotlib-users] Little issue with blitting technique

2009-10-14 Thread Jae-Joon Lee
On Tue, Oct 13, 2009 at 4:53 PM, Laurent Dufréchou laurent.dufrec...@gmail.com wrote: (still your gtk example is more beautiful but 10 times slower than other examples, so is blitting really working in this case ?) What example do you mean? The performance will depend on complexity of the plot