Re: pylab quick reference? (matplotlib)

2009-04-23 Thread Esmail

Arnaud Delobelle wrote:




 python -c 'import pylab;  help(pylab)'  pylab.txt


Do you know pydoc?


From the (shell) command line, try:


$ pydoc pylab # piped through less
$ pydoc pylab  pylab.txt # stored in a file
$ pydoc -w pylab  # Creates a 'pylab.html' file
wrote pylab.html


Ah .. and there I thought I'd impress everyone with my python
command line :-)

I had heard of pydoc before, but am not familiar with (it's on
my list of Python tools to explore), so many thanks for showing
me how to get a nice html formatted page.

Esmail
--
http://mail.python.org/mailman/listinfo/python-list


pylab quick reference? (matplotlib)

2009-04-22 Thread Esmail

Hello all,

Does anyone know of a quick reference for the various plotting
functions for pylab? I'm just getting started with this
after years of work with gnuplot.

I found this

  http://matplotlib.sourceforge.net/api/pyplot_api.html

which is very comprehensive and would be good for digging into
specific commands. What I'm looking for is something small enough
to print out ( 10-20 pages) that gives a sufficient overview so
that I know what's available.

I've looked on the web without much success. I'd be grateful if
you have any pointers.

Thanks!
Esmail

--
http://mail.python.org/mailman/listinfo/python-list


RE: pylab quick reference? (matplotlib)

2009-04-22 Thread Benjamin J. Racine
Not exactly what you've described, but I like this... I just spot the type of 
plot I'm looking for, copy the code, and I'm off...

http://matplotlib.sourceforge.net/gallery.html

I like this technique better than any formal documentation almost.

Btw, there is a specific matplotlib list as well.  

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hope this helps,

Ben R. 

-Original Message-
From: python-list-bounces+bjracine=glosten@python.org 
[mailto:python-list-bounces+bjracine=glosten@python.org] On Behalf Of Esmail
Sent: Wednesday, April 22, 2009 8:28 AM
To: python-list@python.org
Subject: pylab quick reference? (matplotlib)

Hello all,

Does anyone know of a quick reference for the various plotting functions for 
pylab? I'm just getting started with this after years of work with gnuplot.

I found this

   http://matplotlib.sourceforge.net/api/pyplot_api.html

which is very comprehensive and would be good for digging into specific 
commands. What I'm looking for is something small enough to print out ( 10-20 
pages) that gives a sufficient overview so that I know what's available.

I've looked on the web without much success. I'd be grateful if you have any 
pointers.

Thanks!
Esmail

--
http://mail.python.org/mailman/listinfo/python-list
--
http://mail.python.org/mailman/listinfo/python-list


Re: pylab quick reference? (matplotlib)

2009-04-22 Thread norseman

Esmail wrote:

Hello all,

Does anyone know of a quick reference for the various plotting
functions for pylab? I'm just getting started with this
after years of work with gnuplot.

I found this

  http://matplotlib.sourceforge.net/api/pyplot_api.html

which is very comprehensive and would be good for digging into
specific commands. What I'm looking for is something small enough
to print out ( 10-20 pages) that gives a sufficient overview so
that I know what's available.

I've looked on the web without much success. I'd be grateful if
you have any pointers.

Thanks!
Esmail

--
http://mail.python.org/mailman/listinfo/python-list


=

Just out of curiosity,  have you tried:

import pylab
help(pylab)

The next step is to print it, which I've never felt the need to do.
Someone else can describe that step.


Steve

--
http://mail.python.org/mailman/listinfo/python-list


Re: pylab quick reference? (matplotlib)

2009-04-22 Thread Esmail

norseman wrote:


Just out of curiosity,  have you tried:

import pylab
help(pylab)

The next step is to print it, 


Ah .. I didn't know this, great idea. This is what I used to get
the contents into a file for printing

 python -c 'import pylab;  help(pylab)'  pylab.txt

Thanks,
Esmail



Steve

--
http://mail.python.org/mailman/listinfo/python-list



--
http://mail.python.org/mailman/listinfo/python-list


Re: pylab quick reference? (matplotlib)

2009-04-22 Thread Esmail

Benjamin J. Racine wrote:

Not exactly what you've described, but I like this... I just spot the type of 
plot I'm looking for, copy the code, and I'm off...

http://matplotlib.sourceforge.net/gallery.html


Wow .. that's some gallery, thanks, that will be useful.


I like this technique better than any formal documentation almost.

Btw, there is a specific matplotlib list as well.  


https://lists.sourceforge.net/lists/listinfo/matplotlib-users


I just discovered it after I posted here :-) .. still glad I did.

Thanks again Ben,

Esmail

--
http://mail.python.org/mailman/listinfo/python-list


Re: pylab quick reference? (matplotlib)

2009-04-22 Thread Arnaud Delobelle
Esmail esmail...@gmail.com writes:

 norseman wrote:

 Just out of curiosity,  have you tried:

 import pylab
 help(pylab)

 The next step is to print it, 

 Ah .. I didn't know this, great idea. This is what I used to get
 the contents into a file for printing

  python -c 'import pylab;  help(pylab)'  pylab.txt

Do you know pydoc?

From the (shell) command line, try:

$ pydoc pylab # piped through less
$ pydoc pylab  pylab.txt # stored in a file
$ pydoc -w pylab  # Creates a 'pylab.html' file
wrote pylab.html

-- 
Arnaud
--
http://mail.python.org/mailman/listinfo/python-list