Re: [Matplotlib-users] installation

2006-09-05 Thread Charlie Moad
Refer to the top of the setupext.py file. On 9/5/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote: > Where can I find these mingw instructions? Sorry for asking such a simple > question but I can not seem to find them, ive googled it looked in the > readme file and cant find them :/. > > - Origina

Re: [Matplotlib-users] installation

2006-09-05 Thread Kenny Ortmann
Where can I find these mingw instructions? Sorry for asking such a simple question but I can not seem to find them, ive googled it looked in the readme file and cant find them :/. - Original Message - From: "Charlie Moad" <[EMAIL PROTECTED]> To: "Kenny Ortmann" <[EMAIL PROTECTED]> Cc: "ma

Re: [Matplotlib-users] installation

2006-09-05 Thread Charlie Moad
VS2003.Net is needed to easily build the python 2.4 version. (e.g. python setup.py build) You can also follow the mingw instructions for a more open-source way of building matplotlib for windows. We still have to do this for python 2.3. You can supposedly download the .net compiler tools for fre

Re: [Matplotlib-users] installation

2006-09-05 Thread Kenny Ortmann
Hey Charlie thanks for the info. I went ahead and installed Active Tcl I removed microsft visual studio 2003 .net from my computer because I never used it, and I did not want it on here in the first place but i had it on here from being an intern over the summer. C:\matplotlib\trunk\matplotlib>c:\

Re: [Matplotlib-users] plotting constant functions

2006-09-05 Thread Eric Firing
Davidlohr Bueso A. wrote: > Hi, > > I am having trouble graphing constant functions in matplotlib (a simple > y = 2). Here is a simple test script I'm using: > > from pylab import * > > def f(x): > return 2 Try return 2*ones(shape(x)) The problem is that you are returning a scalar

Re: [Matplotlib-users] plotting constant functions

2006-09-05 Thread Matt
Use this to plot it: plot([x], [f(x)])you need the square brackets. -Matt --- "Davidlohr Bueso A." <[EMAIL PROTECTED]> wrote: > Hi, > > I am having trouble graphing constant functions in > matplotlib (a simple > y = 2). Here is a simple test script I'm using: > > from pylab import * > > d

[Matplotlib-users] plotting constant functions

2006-09-05 Thread Davidlohr Bueso A.
Hi, I am having trouble graphing constant functions in matplotlib (a simple y = 2). Here is a simple test script I'm using: from pylab import * def f(x): return 2 x = arange(1, 4) plot(x, f(x)) show() When I run it, I get this error: Traceback (most recent call last): File "test",

[Matplotlib-users] pylab runtime error

2006-09-05 Thread Matt
I had a quick question about the pylab package. When I use the plot function the first time, it works great. However, upon closing the window and plotting a second figure, I immediately get a microsoft visual c++ runtime error when trying to close or move this figure. If I plot one figure, and at

[Matplotlib-users] ANN: matplotlib-0.87.5

2006-09-05 Thread Charlie Moad
Minor rev bump for numpy 1.0b5 compatibility. This release should remain compatible with future 1.0 releases of numpy. http://cheeseshop.python.org/pypi/matplotlib/ http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 ==

[Matplotlib-users] problem with matplotlib Traceback in case latex fails

2006-09-05 Thread Christian Meesters
Hi In one somewhat bigger application of mine, which makes use of matplotlib, it can happen that a user can assign a name to a dataset, which latex in turn is unable to process as part of the legend. Of course it is possible to prevent the user from doing so in most cases, but still it is possi