On 21/03/12 16:27, Gael Varoquaux wrote: > On Wed, Mar 21, 2012 at 04:23:18PM +0000, Andreas wrote: >> But my impression is that scaling does not necessarily work linearly, > It is affine, not linear. I.e you don't control the offset. If you want > to set the scaling factor but not have an offset, you'll need to use the > 'scale radius by absolute scalar' and scale the scalars that you pass in > with the constant adjustment factor that you need. > > That's the only simple way I can see to achieve your needs.
Right - never heard about affine scaling. Somewhat confusingly, it seems like the quiver3d cylinders do scale linearly (reflected by them not having a 'scale radius by absolute scalar' option)? I actually required a minimum radius ('offset'?) for the cylinder so that the smallest ones remain visible; easily enough done by hand too, of course. Might be good to put details on how scaling works in the docs -- perhaps I missed them. Thanks a lot! Andreas ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ MayaVi-users mailing list MayaVi-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mayavi-users