mplot3d: bar3d + colormap somehow?

Greetings.

I would like to make a mplot3d.bar3d plot where the colour indicates
the value of the element. Like: negative values blue, positive red,
zero green. From what i see i can only give all bars the same
color ... Is there a way around it?

I know that this is currently done in mayavi, but mayavi also
seems to be tons slower.

thanks for any help

with best regards,
q

···

--
The king who needs to remind his people of his rank, is no king.

To gain that which is worth having, it may be necessary to lose everything else.

I would like to make a mplot3d.bar3d plot where the colour indicates
the value of the element. Like: negative values blue, positive red,
zero green. From what i see i can only give all bars the same
color ... Is there a way around it?

Hi,

I am afraid I do not know how to help you with the issue, as I don't know
mplot3d well-enough.

I know that this is currently done in mayavi, but mayavi also
seems to be tons slower.

That's interesting. For my use, Mayavi is most of the time faster. Do you
have a light-weight example that would reproduce this slugginess, to see
if we can improve things?

Cheers,

Gaël

···

On Wed, Nov 04, 2009 at 08:56:49PM +0100, qubax@...1843... wrote: