From: Benjamin R. <ben...@ou...> - 2012-04-05 01:54:21
|
On Tue, Mar 27, 2012 at 5:39 PM, klo uo <kl...@gm...> wrote: > Ah mayavi... I find it complicated for building, and in Ubuntu repository > (or launchpad) there is some old version > I'll try later today to build it > > Thanks for your suggestion, > Cheers > > > > On Tue, Mar 27, 2012 at 11:25 PM, Frédéric Vogt <fv...@ms...>wrote: > >> Is the savefig function what you're looking for ? >> >> http://github.enthought.com/mayavi/mayavi/auto/mlab_figure.html >> >> Note that as far as I know, the .mtl file associated with a given .obj >> file is not handled properly - all your colors will be white. Personally, I >> export in .vrml which suits my needs better, as it does handle colors in a >> satisfactory way. >> >> > With the way matplotlib is designed and structured, it may be a while before that would be possible. It wouldn't be impossible, mind you, but I just haven't thought about that. Could you file a wishlist item on Github? Maybe I could steal some code from Mayavi for this idea... In the meantime, Mayavi would be your best bet, though. Thanks, Ben Root |