Re: [Matplotlib-users] how to erase items in figures

2008-01-29 Thread Andy Cheesman
The error was due to muppetdom of the highest degree... I've created a bash alias which subsituted ipython with ipython ---options. Subsequent use of ipython -pylab put the -pylab tab at the end and it was quietly ignored Sorry to waste people time Andy j vickroy wrote: Hello users, I

Re: [Matplotlib-users] matplotlib, ipython and ubuntu

2008-01-29 Thread postmaster
I just migrated from edgy to gutsy this weekend. I did a clean install (boy it really went smoothly - either I'm getting better or the installs are) and it all works fine for me. I used Adept Manager to install everything. You installed numpy? I'm running kubuntu. On Mon, 28 Jan 2008 17:39:45

[Matplotlib-users] Highlight datapoint

2008-01-29 Thread Slackenerny
Hey, I'm currently plotting a dataset as x,y-scatter or a set of x values, and I would like to know if there is a simple way to highlight a single point? Additional information: there is a second window with changing chemical structures, and I would like to have the energy that is connected to

[Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread Robert Cimrman
Is there a way of simultaneously setting both xdata and ydata of a line? I need to animate a line with varying number of points in each frame. regards, r. - This SF.net email is sponsored by: Microsoft Defy all

Re: [Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread John Hunter
On Jan 29, 2008 8:33 AM, Robert Cimrman [EMAIL PROTECTED] wrote: Is there a way of simultaneously setting both xdata and ydata of a line? I need to animate a line with varying number of points in each frame. line.set_data(xdata, ydata) is what you are looking for JDH

[Matplotlib-users] Mac OSX binary missing setup.py

2008-01-29 Thread Michael Barton
I wanted to test MatPlotLib for use in a GIS system for which I help develop the GUI in wxPython. I'm working on a Mac Intel OSX 10.4.11 system. The installation instructions for OS X are very sketchy and there is no readme in the binary. But AFAICT, there ought to be a setup.py file in

Re: [Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread Robert Cimrman
John Hunter wrote: On Jan 29, 2008 8:33 AM, Robert Cimrman [EMAIL PROTECTED] wrote: Is there a way of simultaneously setting both xdata and ydata of a line? I need to animate a line with varying number of points in each frame. line.set_data(xdata, ydata) is what you are looking for

Re: [Matplotlib-users] Mac OSX binary missing setup.py

2008-01-29 Thread Jeff Younker
I'm running on OSX 10.5. The installation process for me was the following two commands: $ easy_install matplotlib $ easy_install numpy That's it. You don't need to manually download the egg. You don't need to root around in the egg. Just run easy_install. It retrieves the egg and installs

Re: [Matplotlib-users] plotting a series of 3D points and, picker=True and 3D

2008-01-29 Thread Michael Droettboom
The axes3d stuff is not currently working on the SVN trunk. You probably want to use 0.91.2 or the v0_91_maint branch in SVN instead. Cheers, Mike Johann Cohen-Tanugi wrote: hello, thanks for answering. I actually fail with the import : In [1]: from matplotlib import axes3d

Re: [Matplotlib-users] Mac OSX binary missing setup.py

2008-01-29 Thread Charlie Moad
You shouldn't ever find a setup.py file in a binary distribution. It is there for building purposes, hence should be with the source distributions. - Charlie On Tue, Jan 29, 2008 at 10:47 AM, Jeff Younker [EMAIL PROTECTED] wrote: I'm running on OSX 10.5. The installation process for me was

Re: [Matplotlib-users] plotting a series of 3D points and, picker=True and 3D

2008-01-29 Thread Johann Cohen-Tanugi
hello, thanks for answering. I actually fail with the import : In [1]: from matplotlib import axes3d --- ImportError Traceback (most recent call last) /home/cohen/bstw/ipython console in module()

[Matplotlib-users] Positioning annotations

2008-01-29 Thread BL
Hi, I would like to annotate a bunch of points on a map. I'm trying to use the annotate function, but it need to know the text coordinates. So you have to configure manually in order not to have these annotations overlap each other. This is really annoying. Is there a way to : - detect the

Re: [Matplotlib-users] How to reverse the direction of an axis?

2008-01-29 Thread Eric Firing
In [1]:plot(arange(10)) Out[1]:[matplotlib.lines.Line2D object at 0x908ee0c] In [2]:ax = gca() In [3]:ax.set_ylim(ax.get_ylim()[::-1]) Out[3]:(9.0, 0.0) In [4]:draw() In [5]: The method in line 3 should work on new and old versions of matplotlib. The basic idea is that when axis limits are

[Matplotlib-users] How to reverse the direction of an axis?

2008-01-29 Thread Daehyok Shin
I like to reverse the direction of y axis - from top to bottom. Anyone to help me? I initially thought it may be easy, but it turned out much harder to find THE SOLUTION. Thanks. Daehyok Shin - This SF.net email is sponsored

Re: [Matplotlib-users] matplotlib, ipython and ubuntu

2008-01-29 Thread Tim Michelsen
Hello! Hmm, I did reinstall and still no joy, it insists on install python2.4 at the same time! do a $: sudo apt-get --purge remove matplotlib ipython to really remove the configuration files. then $: sudo apt-get install matplotlib ipython check if pylab is on your system: $: locate pylab

Re: [Matplotlib-users] matplotlib, ipython and ubuntu

2008-01-29 Thread Fernando Perez
On Jan 29, 2008 4:13 PM, Tim Michelsen [EMAIL PROTECTED] wrote: In [1]: import timeseries as TS In [2]: whos --- type 'exceptions.AttributeError'Traceback (most recent call last)

Re: [Matplotlib-users] How to reverse the direction of an axis?

2008-01-29 Thread Eric Firing
Daehyok Shin wrote: Thanks for your help. I didn't know set_ylim can the reversed limits. I am wondering if it is not a good idea to introduce a method such as axis.set_direction(). Or, axis.set_origin(). There are Axes methods invert_xaxis() and invert_yaxis() in recent versions of mpl; I