On Sun, Nov 21, 2010 at 01:56:01AM +0100, K.-Michael Aye wrote:
> is there a way to have warp_scale='auto' as the default?

A long time ago, Prabhu and I had an argument about that. My view was
that 'auto' should be on by default, because I could see that users would
be tricked like you where. Prabhu's view was that it would be
inconsistent with the rest of Mayavi which works in 'real' scale. When 2
planes are orthogonal in the data, they can be excepted to be orthogonal
on the figure by default.

> I just spend a whole hour, thinking that my data was corrupt, and all i
> had not taken care of was the scale of the z-axis, the same problem I
> even had before a few months ago.

> It might be mathematically more correct to have z being scaled the same
> as x and y, but for geospatial works, the elevation (or any other
> z-axis value) has mostly vastly different scales than their mapping
> coordinates on ground.

Fair enough. I can see that users might be tricked. One option would be
to raise a warning if the aspect ratio is less than say 0.01. Do you
think you could write a patch for that? It would be great.

> I believe, a default for this could also help 'switchers' from Matlab,
> because there as well no setting of the scale is required it seems.

You know, switchers from Matlab is a fairly small argument. I can see the
value, but having switched from Matlab a long time ago, I find that I
really hate the inconsistencies of Matlab when I use it. I would rather
not go the Octave way and try to reproduce the logic of Matlab if it does
not fit the logic of the software.

Best,

Gael

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to