# Worth mentioning that the Z component (axis=0) is twice as deep as
# the X and Y components are wide/tall. I'm going to leave these
# unscaled for now, but if you know how to scale the mesh from
# showvol, I would love to know.
Here is it:
# add the following line just below
# v = vv.volshow(volRGB, renderStyle='iso')
# will do the scale transform.
v.transformations[1].sz = 0.5
from v.transformations:
[<visvis.core.misc.Transform_Translate at 0x7effcb6c7890>,
<visvis.core.misc.Transform_Scale at 0x7effcb6c7b50>]
As you can see from it, the first is translate and second is scale, and it can be simply modified.
In
vis.py
,Here is it:
from
v.transformations
: [<visvis.core.misc.Transform_Translate at 0x7effcb6c7890>, <visvis.core.misc.Transform_Scale at 0x7effcb6c7b50>]As you can see from it, the first is translate and second is scale, and it can be simply modified.