[mayavi] colormap log scale

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[mayavi] colormap log scale

Fred
Hi all,

Is it possible to display a log scale for colormap & colorbar with Mayavi?


TIA.


Cheers,

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [mayavi] colormap log scale

Gael Varoquaux
On Tue, Jul 10, 2012 at 12:56:27PM +0200, Fred wrote:
> Is it possible to display a log scale for colormap & colorbar with Mayavi?

Yes: in the pipeline GUI edit the LUT properties and you'll find a scale
setting that you can put to 'log10'.

HTH,

Gael
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [mayavi] colormap log scale

Fred
Le 10/07/2012 14:43, Gael Varoquaux a écrit :
> On Tue, Jul 10, 2012 at 12:56:27PM +0200, Fred wrote:
>> Is it possible to display a log scale for colormap&  colorbar with Mayavi?
>
> Yes: in the pipeline GUI edit the LUT properties and you'll find a scale
> setting that you can put to 'log10'.
Ooh, I should have find it myself!

Too lazy ;-)

Thx Gaël!

Not lazy on this, btw, but I did not find how to set a log scale for the
colorbar, like on my snapshot (Chaco).



Cheers,

--
Fred

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev

snapshot.png (84K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [mayavi] colormap log scale

guruvenkat
This post has NOT been accepted by the mailing list yet.
Hi,
I am not sure if I should create a new thread for this. Anyway here goes.

I am trying to change the scale of the colormap to log10 using a mayavi script. I managed to get the rest of script done by recording what I was doing using the mayavi GUI. However nothing updates on the recorder when I change the colormap scale. Indeed nothing updates when I make any changes to the LUT properties. However the change does reflect in the scene.

Any help would be deeply appreciated.