On Fri, Jul 09, 2010 at 09:42:03AM +0200, K.-Michael Aye wrote:
> This 2nd way I have tried many times, as I am working completely in 
> numpy arrays, but I always get flat object, like this:
> http://dl.dropbox.com/u/139035/snapshot.png

Ah, you need to use:

    mlab.surf(img, warp_scale='auto')

Right now, the z scaling (also called 'warp_scale') is calculated in the
same units than (x, y) pixels.

HTH,

Gaƫl

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to