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
sweet!
John Hunter wrote:
> On Mon, Feb 22, 2010 at 11:00 AM, Tom Holroyd (NIH/NIMH) [E]
> wrote:
>> ok, this is how i do it
>> pro'ly could make this better
>
> python -c "import pylab; pylab.plotfile('temp.dat', cols=(0,
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
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
run gnuplot
and say
plot '/tmp/moo' w l 3
boom
default graph to show friends
the thing is
in t
Repost; the list bounced my last attempt.
On Fri, 2008-09-19 at 18:42 -0400, Tom Holroyd wrote:
> On Thu, 2008-09-18 at 20:40 +0200, Jouni K. Seppänen wrote:
> > I would prefer something like the following options:
> >
> > fc={'orange': 20, 'white'
Sorry, I just don't like that word. And the "UR ..." was a lame
reference to LOL Cats. :-) Sorry, sorry, I'll go away now.
P.S. I love matplotlib.
On Tue, 2008-01-08 at 22:53 +0100, Gael Varoquaux wrote:
> On Tue, Jan 08, 2008 at 04:49:00PM -0500, Michael Droettboom wrote:
> > I don't think "UR DO
UR DOIN IT WRONG
http://en.wikipedia.org/wiki/Refactoring
On Tue, 2008-01-08 at 10:48 -0800, John Hunter wrote:
> To check out the trunk with the latest transforms refactoring:
The word refactoring applies to cases of code cleanup and so on.
Refactoring implies functional equivalence.
Dr. Tom
On the what's new page,
http://matplotlib.sourceforge.net/whats_new.html
it says "expand it's coverage" but it should be "expand its coverage".
Happy holidays.
Dr. Tom
--
My brother, when you have a virtue, and it is your own virtue, you have
it in common with no one. Thus spoke Zarathustra.
re autolayout; how does this affect gcf().subplots_adjust(hspace=1.),
which is how I would make room (where hspace can be adjusted)?
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From t
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:
>>> Simila
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 kno
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
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
Eric Firing wrote:
> Tom Holroyd (NIH/NIMH) [E] wrote:
>>
>> 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.
>>
&
ut the relationship between matplotlib and pylab.
--
Tom Holroyd, Ph.D.
"The fundamentally misconceived nature versus nurture debate should be
abandoned: child development is inextricably both." -- Louann Brizendine
-
T
John Hunter wrote:
> from matplotlib import artist as mpl_artist
> from matplotlib import agg as mpl_agg
> from matplotlib import axis as mpl_axis
> from matplotlib import cbook as mpl_cbook
> from matplotlib import collections as mpl_collections
> from matplotlib import colors as mpl_colors
> fr
ion code. But I don't want to hold up the
> release cycle with known bugs in the wild unless someone says, "wait I
> just need a day or two".
--
Tom Holroyd, Ph.D.
"The fundamentally misconceived nature versus nurture debate should be
abandoned: child
;
> import numpy
>
> from pylab import figure, show
>
> t = numpy.arange(0.0, 1.0, 0.1)
> s = numpy.ones(len(t), dtype=numpy.float_)
> s[1::2] = 0.
>
> fig = figure()
> ax = fig.add_subplot(111)
> ax.plot(t, s, '-', lw=2)
> ax.set_ylim(-.5, 1.5)
>
the way, and
accounts for more leaks than other places) and it'll leak minimally.
Does that mean this is a bug in gtk?
--
Tom Holroyd, Ph.D.
We experience the world not as it is, but as we expect it to be.
-
Take Su
In fact, the following loop leaks:
for i in range(indEnd):
fig = pylab.figure()
about 2k per on my box _even_ with toolbar set to None.
With it set to toolbar2, it is very noticably slower, and leaks 120k per.
--
Tom Holroyd, Ph.D.
We experience the world not as it is, but as we expect it
lot([1,2,3])
i += 1
if __name__ == '__main__': plot()
I have matplotlib-0.90.0 installed, and this script doesn't leak for me. It
grows a bit as shown in the graph, then stabilizes. I'm on FC4 with Python
2.4.3.
--
Tom Holroyd, Ph.D.
We experience the world not as it
with the pylab code. Perhaps someone could
demonstrate the appropriate way?
--
Tom Holroyd, Ph.D.
We experience the world not as it is, but as we expect it to be.
tics.py
Description: application/python
-
Take Surveys. Earn
22 matches
Mail list logo