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
我使用Python的,我有以下問題: 我的數據是由3D點,其實辦法不多做一個簡單的散點圖。因此,我必須將數據「存入」網格。 我通過使用3D-直方圖製作此(和也有其他的優點,我使用一個三維直方圖): import numpy as np
"""Where x,y,z are given and binx,biny,binz are calculated some steps before"""