相关疑难解决方法(0)

Mayavi指向不同大小和颜色的3D

mayavi是否可以单独指定每个点的大小和颜色?

那个API对我来说很麻烦.

points3d(x, y, z...)
points3d(x, y, z, s, ...)
points3d(x, y, z, f, ...)

x, y and z are numpy arrays, or lists, all of the same shape, giving the positions of the points.
If only 3 arrays x, y, z are given, all the points are drawn with the same size and color.
In addition, you can pass a fourth array s of the same shape as x, y, and z giving an associated scalar value for each …
Run Code Online (Sandbox Code Playgroud)

python data-visualization vtk mayavi

13
推荐指数
3
解决办法
5888
查看次数

如何在mayavi中直接设置RGB/RGBA颜色

我有一个带有多个顶点的 mayavi 对象,我想直接为这些顶点设置 RGB 或 RGBA 值,而不是将自己限制为带有标量的单个颜色图。如何做到这一点?

python mayavi

2
推荐指数
1
解决办法
2627
查看次数

如何在mayavi中绘制彩色图像(imshow)

是否可以使用mayavi绘制带有3个颜色通道的图像?根据mayavi的文档,mayavi.mlab.imshow只能处理形状(nxm)的图像.

python image mayavi

2
推荐指数
1
解决办法
1988
查看次数

标签 统计

mayavi ×3

python ×3

data-visualization ×1

image ×1

vtk ×1