Re: [MayaVi-users] Setting the aspect ratio (x/y/z) of a surface plot?
Status: Beta
Brought to you by:
prabhu_r
|
From: Fernando P. <fp...@pi...> - 2003-02-19 18:15:13
|
On Wed, 19 Feb 2003, Prabhu Ramachandran wrote: > >>>>> "FP" == Fernando Perez <fp...@pi...> writes: > > [scaling the visualization] > > There is no easy way that I know of to do this in VTK/MayaVi. Getting > it done or finding a way to do it is not a priority for me. This > would require at the very least posting on vtkusers and getting an > answer and if the feature does not exist would require changes to VTK. > Right now I don't have time for that. I already have a few other > patches that need to go in after 4.2 is released and don't want to > take up more work. Besides, if I don't start work on the redesign > soon no one will believe me anymore. :) For now I think the users can > scale their data and display it if scale is of such importance. If > the issue is of great importance perhaps interested folks can take it > up and see what can be done. Patches are welcome. :) No problem. I understand full well your position, and I agree that the redesign is a far more important priority. I just finished answering in essentially the same terms to a request for some windows-related work for IPython. So I can feel your pain :) But one micro-request. Since you said it was easy, could you add to view() in mayamat/tools (whichever name you choose) at least a scale option which just takes a 3-tuple of arguments and passes them accordingly? I'm asking only because you did say it would be easy for you to include it. And even if it requires a bit of manual work from users, it would be 90% of ideal in my book, and definitely far enough for any real work. I can always try out one or two values of the scaling tuple until I find something that looks good. So no 'auto' option, just a plain optional tuple (defaulting to (1,1,1)) which the user can pass to rescale each axis without having to know about the vtk pipeline's details. Anyway, this is not urgent. But it would be great if you could sneak it in when you unleash view()/surf() to the world. Best, f. |