pts = mayavi.mlab.quiver3d(x, y, z, sx, sy, sz, scalars=c, mode='sphere',
    scale_factor=f)
pts.glyph.color_mode = 'color_by_scalar'
pts.glyph.glyph_source.glyph_source.center = [0, 0, 0]
Mayavi points3d with different size and colors