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 21:11:56
|
On Thu, 20 Feb 2003, Prabhu Ramachandran wrote: > > Silly me. I forgot. Last night after reading your mail I added a 2d > scale for view() which defaults to [1,1]. I forgot to mail it to you. > I've attached it below. Let me know if thats enough or you need the > third parameter or if you need the same thing for surf as well? Great. But yes, the scale parameter should also handle the z-axis, and also be available for surf(). As it turns out, it's precisely a common case to have say a 512x512 array with values which are say all <1 in absolute value. Unless you rescale the z-axis, calling view() on it with warp on is almost useless, because there's a 1/500 ratio problem. Again, thanks a lot for all this, and don't rush it. There's no major urgency. Best, f. |