enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.3k stars 285 forks source link

points3d size vs color #955

Open scmartin opened 4 years ago

scmartin commented 4 years ago

I am trying to visualize points which are sized based on one quantity and colored based on another. Following the suggestions in the documentation I was able to achieve this, but I think the size and color of the points should be separate parameters in the points3d function. The current method seems pretty hacky for what seems like a straightforward and I would imagine very common use case.

zhanghm1995 commented 4 years ago

I also want to know whether mlab.points3d function can change the size of points if I specify the mode='point'?

I know we can change the size of points if we specify the mode='sphere', but the visualization effect not good as 'point' mode.

solarjoe commented 2 years ago

See https://github.com/enthought/mayavi/issues/1013#issuecomment-787064563