Gael Varoquaux | 17 Jul 19:06
Favicon

Re: Modify surf output (axes, scaling)

On Thu, Jul 17, 2008 at 12:27:36PM +0200, Thomas Königstein wrote:
>    The extent() trick did do something, but not what I wanted :/ the surface
>    was black instead of colored according to the lut parameter, and the axes
>    still had the original size, see [1]http://i37.tinypic.com/axi1p0.png
>    (this time the colors were ok again, weird).

Quickly (I am at a conference): the color problem is probably a bug in
your graphics card, and not something we can really do anything about.
The axes problem can be solved by passing the same extents parameter to
the axes function. You might also need to tweek the labels.

>   By the way, does the EPD distribution also feature a python editor (IDLE)?
>   If yes, can I create a TVTK scene from the IDLE interactive console there
>   (does it support wxPython threading system)?

IDLE does not support wxPython threading system. You'll crash it
immediatly if you start TVTK with it.

For the small x,y problem, I am not too sure what the solution might be.
I fear this could be a problem related to precision of an internal
representation. Changing units might be a good solution. Remember, you
can change the labels of the axes.

HTH,

Gaël

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev

Gmane