Re: [MayaVi-users] Setting the aspect ratio (x/y/z) of a surface plot?
Status: Beta
Brought to you by:
prabhu_r
|
From: Prabhu R. <pr...@ae...> - 2003-02-19 18:07:25
|
>>>>> "FP" == Fernando Perez <fp...@pi...> writes:
[scaling the visualization]
FP> That would be good. Here are some thoughts on my 'ideal'
FP> interface for this. Take from this what you want/like.
The following answer is my take on the matter.
FP> Since the whole point of visualization is seeing as much
FP> information as possible, I would argue for a 'scale' parameter
FP> which defaults to 'auto'. In this case, surf/view would
FP> automatically compute the necessary x/y/z scaling to make the
FP> plot be visually balanced. Something like a 1:1:0.7 scale
FP> (x:y:z) might be a nice visual choice. Here I mean the
FP> _final_ aspect ratio would be 1:1:0.7, which would of course
FP> require the computation of the necessary scaling factors to
FP> obtain this visual result. The labels on the axes would serve
FP> the purpose of indicating the actual ranges.
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. :)
[snip]
Anyway, thanks for the feedback. Sorry that I do not know of an easy
fix or solution.
cheers,
prabhu
|