Hi,

On Tue, Apr 19, 2011 at 12:05:24PM +0100, chunlianhu wrote:
>    I am new in learning mayavi. And I have a question on it. Could the scale
>    be set at a given area?  I mean, in software origin, you can set the scale
>    of x, y and z axis from -1 to 1 or from 0 to 1, whatever you want. But in
>    mayavi, how the scale can be set? Thanks a lot.

This is, in general, not possible, as Mayavi does not have the notion of
a data space and simply uses the coordinates it is given.

That said, most mlab plotting functions take a 'extents' keyword argument
that can be of some use here. See for instance 
http://github.enthought.com/mayavi/mayavi/auto/mlab_helper_functions.html#enthought.mayavi.mlab.points3d

Hope this helps,

Gael

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to