Documentation for 3D plotting?

I just discovered the 3D plotting functions that matplotlib offers
(i.e. Axes3D with plot_surface, etc). This is a great package, but I
have not been able to find documentation for some parameters. For
example, the plot_surface function appears to take the following
arguments:
(X, Y, Z, *args, **kwargs)

x,y, and z are pretty much self-explanatory, but how do I find out
what arguments can be passed to *args and **kwargs? There's no
docstring available for these functions.

One thing I would really love to be able to do is generate a surface
map that is color-coded. Right now I can generate a single-color
surface map, but a color-coded surface map would be much easier to
interpret.

Thanks!
Orest

Unfortunately, the 3D plotting capability is incomplete and mostly unmaintained.

Eric

Orest Kozyar wrote:

···

I just discovered the 3D plotting functions that matplotlib offers
(i.e. Axes3D with plot_surface, etc). This is a great package, but I
have not been able to find documentation for some parameters. For
example, the plot_surface function appears to take the following
arguments:
(X, Y, Z, *args, **kwargs)

x,y, and z are pretty much self-explanatory, but how do I find out
what arguments can be passed to *args and **kwargs? There's no
docstring available for these functions.

One thing I would really love to be able to do is generate a surface
map that is color-coded. Right now I can generate a single-color
surface map, but a color-coded surface map would be much easier to
interpret.

Thanks!
Orest

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

I needed to make a surface plot last week and I ended up using gnuplot
(http://www.gnuplot.info/) instead of matplotlib. As stated above, the 3D
plotting capabilities of matplotlib are somewhat limited, so you may need to
use an alternative package. gnuplot generates plots which are quite similar
to Matlab, check out the 'pm3d' plot style:

http://gnuplot.sourceforge.net/demo_4.2/pm3d.html

You can also control the color map:
http://gnuplot.sourceforge.net/demo_4.2/pm3dcolors.html

Stephan

···

On June 20, 2007, Eric Firing wrote:

Unfortunately, the 3D plotting capability is incomplete and mostly
unmaintained.

Orest Kozyar wrote:
> One thing I would really love to be able to do is generate a surface
> map that is color-coded. Right now I can generate a single-color
> surface map, but a color-coded surface map would be much easier to
> interpret.

There is a nice gnuplot python interface out there. Google for gnuplot.py

···

On 6/22/07, Stephan Bourduas <stephan.bourduas@...1635...> wrote:

On June 20, 2007, Eric Firing wrote:
> Unfortunately, the 3D plotting capability is incomplete and mostly
> unmaintained.

>
> Orest Kozyar wrote:
> > One thing I would really love to be able to do is generate a surface
> > map that is color-coded. Right now I can generate a single-color
> > surface map, but a color-coded surface map would be much easier to
> > interpret.

I needed to make a surface plot last week and I ended up using gnuplot
(http://www.gnuplot.info/) instead of matplotlib. As stated above, the 3D
plotting capabilities of matplotlib are somewhat limited, so you may need to
use an alternative package. gnuplot generates plots which are quite similar
to Matlab, check out the 'pm3d' plot style:

gnuplot demo script: pm3d.dem

You can also control the color map:
gnuplot demo script: pm3dcolors.dem

Stephan

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options