Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread Fernando Perez
On 4/5/07, belinda thom <[EMAIL PROTECTED]> wrote: > Darn. I am writing this reply as a desperate attempt to make sure > there's not some quick fix to make it work in my specific case; I'm > about ready to give up or try something like Tk, but am running out > of time. We might, alas, have to sett

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread belinda thom
On Apr 5, 2007, at 1:20 PM, Ken McIvor wrote: > On Apr 5, 2007, at 2:14 PM, belinda thom wrote: >> >> I do think its valuable to be able to write a blocking mouse >> function. After your pointer to Timer (which led me to the threading >> Python library) and idle handler (which I didn't find usefu

Re: [Matplotlib-users] Matplotlib conflicts with python-dateutils?

2007-04-05 Thread Andrew Straw
Joshua J. Kugler wrote: > Installing an egg today, I got this message from easy_install: > > /usr/bin/easy_install:5: UserWarning: Module dateutil was already imported > from > /usr/lib/python2.4/site-packages/matplotlib-0.87.7-py2.4-linux-i686.egg/dateutil/__init__.pyc, > > but /usr/lib/python

Re: [Matplotlib-users] Stumped trying to find basic info

2007-04-05 Thread Fernando Perez
On 4/5/07, Eric Firing <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: > > I've just started using matplotlib, and I'm stumped on where to > > find basic info. I've search the users guide, tutorial, and > > FAQ, and I can't find things as simple as a list of what the > > color specifiers are. I

Re: [Matplotlib-users] Fwd: Stumped trying to find basic info

2007-04-05 Thread Grant Edwards
On 2007-04-05, C M <[EMAIL PROTECTED]> wrote: > I've had some luck using Google also to find such things, either official > documentation or a posting about it on a group or such. E.g., searching the > terms "matplotlib" and "colors", gave as the first hit: Thanks. I searched for various combina

[Matplotlib-users] Fwd: Stumped trying to find basic info

2007-04-05 Thread C M
[I also forgot to forward this to the list] Grant, I've had some luck using Google also to find such things, either official documentation or a posting about it on a group or such. E.g., searching the terms "matplotlib" and "colors", gave as the first hit: http://matplotlib.sourceforge.net/matp

Re: [Matplotlib-users] Stumped trying to find basic info

2007-04-05 Thread Ken McIvor
I forgot to CC the list on my reply. Perhaps the colors and styles deserve to have a table in the tutorial? Ken On Apr 5, 2007, at 2:57 PM, Ken McIvor wrote: > On Apr 5, 2007, at 2:42 PM, Grant Edwards wrote: >> >> I've just started using matplotlib, and I'm stumped on where to >> find basic in

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread Ken McIvor
On Apr 5, 2007, at 2:14 PM, belinda thom wrote: > > I do think its valuable to be able to write a blocking mouse > function. After your pointer to Timer (which led me to the threading > Python library) and idle handler (which I didn't find useful doc on, > so didn't persue), I came up with the code

[Matplotlib-users] Matplotlib conflicts with python-dateutils?

2007-04-05 Thread Joshua J. Kugler
Installing an egg today, I got this message from easy_install: /usr/bin/easy_install:5: UserWarning: Module dateutil was already imported from /usr/lib/python2.4/site-packages/matplotlib-0.87.7-py2.4-linux-i686.egg/dateutil/__init__.pyc, but /usr/lib/python2.4/site-packages/python_dateutil-1.1

Re: [Matplotlib-users] Stumped trying to find basic info

2007-04-05 Thread Eric Firing
Grant Edwards wrote: > I've just started using matplotlib, and I'm stumped on where to > find basic info. I've search the users guide, tutorial, and > FAQ, and I can't find things as simple as a list of what the > color specifiers are. I've figured out that 'r' is red, 'k' is > black, but I can't

[Matplotlib-users] Stumped trying to find basic info

2007-04-05 Thread Grant Edwards
I've just started using matplotlib, and I'm stumped on where to find basic info. I've search the users guide, tutorial, and FAQ, and I can't find things as simple as a list of what the color specifiers are. I've figured out that 'r' is red, 'k' is black, but I can't figure out where stuff like th

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread belinda thom
On Apr 5, 2007, at 6:27 AM, John Hunter wrote: > On 4/5/07, belinda thom <[EMAIL PROTECTED]> wrote: > >> My app needs to look something like this: >> >> -- >> >> create a game and display it in a matplotlib figure >> >> while game not over : >> >> if its player 1's turn, get player 1's va

[Matplotlib-users] Dendrogram

2007-04-05 Thread Timothy
Hope this isn't a sore subject, but are there ways with Matplotlib to generate dendrograms? Thanks, Tim - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance t

[Matplotlib-users] Request for testing: IPython

2007-04-05 Thread Fernando Perez
Hi all, sorry to spam the list a bit, but what follows is of direct interest to a good number of matplotlib users. Yesterday we put out here: http://ipython.scipy.org/dist/testing/ a release candidate for IPython 0.7.4, as well as PyReadline (needed by windows users). There is one new feature

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread Christopher Barker
Belinda, While I'm sure you can find a way to do what you want with MPL, it sounds like you're really pushing the bounds of what it's designed for. Having been a Matlab user myself, I can see how you've gotten here, but I think you should consider other options. Matplotlib is a plotting librar

[Matplotlib-users] Problem using TeX formatting in labels SOLVED

2007-04-05 Thread Adrian Down
Hello, Thanks very much to everyone who helped me with this issue. I found my LaTeX path by doing echo $PATH in a terminal window, and then adding this line to the x11 path in my bashrc file, PATH=/usr/local/teTeX/bin/powerpc-apple-darwin-current:$PATH; export PATH My plots (labels included) look

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread John Hunter
On 4/5/07, belinda thom <[EMAIL PROTECTED]> wrote: > My app needs to look something like this: > > -- > > create a game and display it in a matplotlib figure > > while game not over : > > if its player 1's turn, get player 1's valid mouse input, > otherwise get player 2's > You need to ge

Re: [Matplotlib-users] Problem using TeX formatting in labels

2007-04-05 Thread Adrian Down
Hi Brian, I wouldn't doubt that this is a path issue. The other path issues that I've had installing python and then the requisite libraries seems to be endless. I'm using Mac OSX.4, a Powerbook but not an Intel-based Mac (as far as I know... its several years old). My ~/.profile is actually em

Re: [Matplotlib-users] Problem using TeX formatting in labels

2007-04-05 Thread Darren Dale
Hi Adrian, On Thursday 05 April 2007 09:01:55 am Adrian Down wrote: > I am getting an error when I try to use any TeX formatting in plot > labels. There is an example below. I don't know if its relevant, but > I can only use the "latex" command in my OSX terminal. If I try > "latex sample.tex"

[Matplotlib-users] Problem using TeX formatting in labels

2007-04-05 Thread Adrian Down
Hello, I am getting an error when I try to use any TeX formatting in plot labels. There is an example below. I don't know if its relevant, but I can only use the "latex" command in my OSX terminal. If I try "latex sample.tex" in an x11 window, x11 claims no knowledge of latex. I have had to in

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-05 Thread Werner F. Bruhin
Hi Archana, Archana Ganesan wrote: > ... > trial.py is as follows. > > from pylab import * > > x = xrange(10) > plot(x) > savefig("trial.png") > The setup.py you are using will not work, it is meant for a matplotlib embedded in wx, and even for that some lines are commented out. Can you try the

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-05 Thread belinda thom
Hi Angus and the Matplotlib community, I'm finally getting around to trying your suggestions, which at first blush seem like they'd do what I want, so THANKS for that! But I'm still running into issues for which I'm uncertain how to proceed. I outline my stumbling blocks below, which have to

Re: [Matplotlib-users] numpy migration

2007-04-05 Thread Mark Bakker
On Wed, 4 Apr 2007, John Hunter apparently wrote: > If anyone has any comments or objections to this plan, speak now. I only switched a couple of months ago (basically because I was waiting for numpy 1.0 and for scipy to switch) and numpy is so much nicer! (Not that I didn't like Numeric; I co