plot_suface coloring

Hi everybody,

I have sent this email before today, but I wasn't a member back then. So I don't know if it was sent. Anyway I am sending it again, if anyone knows how to color the plot_surface function (along an axis perhaps), please share your knowledge.

Thanks,
Seyit

Seyit Hocuk wrote:

···

Hi to the list,

This will be my first post here. I want to give a color(s) to my 3d surface plot with matplotlib. How do I do that. Is there an argument for (pseudo)color? There is no good explenation anywhere for plot_surface.

Thanks,
Seyit

Seyit Hocuk wrote:

Hi everybody,

I have sent this email before today, but I wasn't a member back then. So I don't know if it was sent. Anyway I am sending it again, if anyone knows how to color the plot_surface function (along an axis perhaps), please share your knowledge.

Thanks,
Seyit

Seyit,

I haven't seen a reply yet, so I will give the standard caution: 3-D plotting in mpl is not actively supported or maintained.

Eric

Eric Firing wrote:

Seyit Hocuk wrote:

Hi everybody,

I have sent this email before today, but I wasn't a member back then. So I don't know if it was sent. Anyway I am sending it again, if anyone knows how to color the plot_surface function (along an axis perhaps), please share your knowledge.

Thanks,
Seyit

Seyit,

I haven't seen a reply yet, so I will give the standard caution: 3-D plotting in mpl is not actively supported or maintained.

Eric

Thanks for (the only) reply Eric. I guess I have to switch over to another plotting tool if I really want the color (maybe Gnuplot). Too bad I started to like matplotlibs 3D plotting.

Greetz,
Seyit

Thanks for (the only) reply Eric. I guess I have to switch over to
another plotting tool if I really want the color (maybe Gnuplot). Too
bad I started to like matplotlibs 3D plotting.

   You can try Mayavi (it may require Mayavi2, see
http://scipy.org/Cookbook/MayaVi/)

For surface plots, see
http://scipy.org/Cookbook/MayaVi/mlab

  Vincent

···

--
Vincent Favre-Nicolin
Université Joseph Fourier
http://v.favrenicolin.free.fr
ObjCryst & Fox : http://objcryst.sourceforge.net