Re: [matplotlib-devel] Upcoming Debian stable release and matplotlib new release(s)

2010-06-02 Thread Tom Holroyd (NIH/NIMH) [E]
John Hunter wrote: https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.3 I'm running Fedora 13, and it mostly works but the config output says that Tkinter isn't there, but it is. It finds Qt4 OK, but seems to have trouble finding tkinter and agg. I just did the yum

Re: [matplotlib-devel] quick 'n dirty favorite

2010-02-22 Thread Tom Holroyd (NIH/NIMH) [E]
ok, this is how i do it pro'ly could make this better ./plot file.dat just does the first two columns needs smarts Tom Holroyd wrote: here's the old way cut and paste some numbers from a web page like the number of live births by year dump it in a file named moo

Re: [matplotlib-devel] quick 'n dirty favorite

2010-02-22 Thread Tom Holroyd (NIH/NIMH) [E]
sweet! John Hunter wrote: On Mon, Feb 22, 2010 at 11:00 AM, Tom Holroyd (NIH/NIMH) [E] holro...@mail.nih.gov wrote: ok, this is how i do it pro'ly could make this better python -c import pylab; pylab.plotfile('temp.dat', cols=(0,2), delimiter=' '); pylab.show() JDH

Re: [matplotlib-devel] mlab and pylab

2007-08-10 Thread Tom Holroyd (NIH/NIMH) [E]
Just a bad example. I know there are functions that were originally defined in Matlab and then got rewritten in python, but I've never been clear on which modules they really live in. Ryan May wrote: Tom Holroyd (NIH/NIMH) [E] wrote: Eric Firing wrote: Similarly, after dealing with mlab, I

Re: [matplotlib-devel] mlab and pylab

2007-08-10 Thread Tom Holroyd (NIH/NIMH) [E]
Eric Firing wrote: Similarly, after dealing with mlab, I would like to simplify pylab. Right now, we have a horrible tangle of namespaces in pylab. Cleaning this up will potentially break user code; if a numpy function formerly could be referenced with three different names and we knock

Re: [matplotlib-devel] organization of traited config system

2007-07-26 Thread Tom Holroyd (NIH/NIMH) [E]
Are traits going to be a dependency that I have to download and install, or will all the traits stuff be bundled with mpl? -- Tom Holroyd, Ph.D. The fundamentally misconceived nature versus nurture debate should be abandoned: child development is inextricably both. -- Louann Brizendine

Re: [matplotlib-devel] Polygon examples broken

2007-07-23 Thread Tom Holroyd (NIH/NIMH) [E]
Paul Kienzle wrote: Let me rephrase: Can we have a function sqrt(x) which returns real if x is nonnegative, and complex if it is negative? Similarly for other math functions such as log which produce complex values for negative numbers? standard python is import cmath cmath.sqrt(-1) 1j

Re: [matplotlib-devel] numpification and imports

2007-07-13 Thread Tom Holroyd (NIH/NIMH) [E]
Ted Drain wrote: I think the basic idea is that if I want to use MPL, I should import it and go and I should not have to import a sub-module out of MPL as the main API. Yeah, about that, my typical usage is actually from pylab import *. I guess I am unclear about the relationship between

Re: [matplotlib-devel] release?

2007-05-31 Thread Tom Holroyd (NIH/NIMH) [E]
Hi. I've been trying to port an application to older distros such as RH3 without much luck. I'm using numpy and pylab. I can usually get numpy installed but pylab has lots of dependencies on gtk2 and other things. What's the minimal backend to use to eliminate, as much as possible, the

[matplotlib-devel] better tick marks

2007-03-27 Thread Tom Holroyd (NIH/NIMH) [E]
I've got a routine, attached, which is simple and fast, and returns very nicely spaced ticks along with the number of minor ticks. It's an old algorithm from a '73 ACM article, but tried and true. I suppose this should be implemented as a Locator, but I'm not very familiar with the pylab code.