Re: [Matplotlib-users] svn build cannot import

2006-09-08 Thread Darren Dale
I just built svn 2761 on linux, and didnt find any problems. Darren On Friday 08 September 2006 08:39, [EMAIL PROTECTED] wrote: I have built matplotlib from svn this morning (trunk), which was successful, but when I go to import anything, it fails: import pylab Traceback (most recent

Re: [Matplotlib-users] svn build cannot import

2006-09-08 Thread Christian Meesters
Hi, I you don't need to use svn, you might give this build a try: http://pythonmac.org/packages/py24-fat/index.html Christian - Using Tomcat but need to do more? Need to support web services, security? Get stuff done

[Matplotlib-users] legend problem

2006-09-08 Thread Jean_Francois Moulin
Hi all! I have a small problem with the legend() stuff... when plotting several lines like in: name=0 for curve in data: plot(curve[0],curve[1],label=str(name)) name+=1 legend() show() the first two curves appear with a label but without the line represented in the legend box.

[Matplotlib-users] problem installing 0.87.5

2006-09-08 Thread Jean_Francois Moulin
I tried installing the 0.87.5 version of matplotlib and this is what I get when running a routine that worked under 0.87.3. Any clue? TIA JF pythonw -u image_rx2_3.py Traceback (most recent call last): File image_rx2_3.py, line 1, in ? from pylab import * File

[Matplotlib-users] problems building mpkg installers for matplotlib

2006-09-08 Thread Christopher Fonnesbeck
I am building matplotlib on an Intel Mac, and trying to use py2app to generate mpkg files. Everything seems to go well, except that when I go to install the package, it says that there is nothing to install. The package seems to be there, but is grayed out with Skip in the action column:

Re: [Matplotlib-users] svn build cannot import

2006-09-08 Thread Christopher Barker
Christian Meesters wrote: I you don't need to use svn, you might give this build a try: http://pythonmac.org/packages/py24-fat/index.html Or the latest build, which is now at: http://euclid.uits.iupui.edu/mplfiles/ You'll need: matplotlib-0.87.5-py2.4-macosx-10.4-fat.egg and:

Re: [Matplotlib-users] function domain problems

2006-09-08 Thread Eric Firing
I suggest using masked arrays to ensure you are only trying to plot real numbers: def f(x): y = log(x) ygood = (y 1e38) (y -1e-38) yy = nx.ma.masked_where(ygood == 0, y) return yy Note the parentheses and peculiar use of bitwise-and in the definition of ygood. This is a

[Matplotlib-users] Interactive masking

2006-09-08 Thread Rob Hetland
I am interested in making an 'interactive mask.' That is, I am creating a model of estuarine flow, where the grid is rectangular, and part of the domain will be land, not included in the simulation through a mask. I would like to be able to modify this mask using a tool that will allow

Re: [Matplotlib-users] Setting aspect ratio?

2006-09-08 Thread Louis Pecora
I have looked in the User's Guide for matplotlib, but couldn't find anything on setting the aspect ratio. Can anyone point me to some info online? I will continue to look. Thanks. -- Cheers, Lou Pecora Code 6362 Naval Research Lab Washington, DC 20375 USA Ph: +202-767-6002 email:

Re: [Matplotlib-users] Plotting time on x-axis

2006-09-08 Thread Roberto Aguilar
I found how to explicitly set the x-axis using the following command: figure.gca().set_xlim([min, max]) -Roberto. On 9/6/06, Roberto Aguilar [EMAIL PROTECTED] wrote: Hello, I'm creating a program that plots data in real-time. I want the x-axis to be the time in HH:MM:SS. I'm still

[Matplotlib-users] Linestyles and steps

2006-09-08 Thread R. Padraic Springuel
Is it possible to combine the dashed, dot-dashed, and dotted line styles with a linestyle='steps' keyword argument? -- R. Padraic Springuel Teaching Assistant Department of Physics and Astronomy University of Maine Bennett 309 Office Hours: By Appointment only during the Summer

Re: [Matplotlib-users] Setting aspect ratio?

2006-09-08 Thread Eric Firing
Louis Pecora wrote: I have looked in the User's Guide for matplotlib, but couldn't find anything on setting the aspect ratio. Can anyone point me to some info online? I will continue to look. Thanks. Each axes object has the following method (with only the docstring shown here):