On Thu, Jun 9, 2011 at 6:25 AM, Richard Hofmeister <
richard.hofmeis...@io-warnemuende.de> wrote:

> Hello mplot3d specialists,
>
> I would like to change the aspect ratio of the 3d axes similar to matlab's
> functionality with daspect() or the 'dataaspectratio' property of 3d-axes.
> In the end, the x-y-plane should be non-square due to different lengths
> (not range) of the x and y axis (i know that i can use the aspect property
> of the axes to set the x-z/y-z aspect ratio).
>
> There is also the package "scitools", which provides all the matlab-3d
> functions including daspect via a VTK-backend; that would be my next try.
>
> For the simple 3d-plotting without fancy shading, i would like to stick to
> mplot3d:
> Is it possible to change the axis lengths/aspect ratios independently?
>
> Richard
>
>
Richard,

Good question.  I have never thought about such a feature for mplot3d.
Looking back at the code, it does not appear to be feasible to do in its
current state, as the code seems to assume that the 3d grid is a constructed
from a unit cube.  However, I will see if I can add aspect multipliers to
the point calculation and get arbitrary aspects.  Maybe I can get that
feature added into the upcoming 1.1.0 release.

Ben Root
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to