#!/usr/bin/env python # coding: utf-8 # In[ ]: import k3d origins = [1.0, 1.0, 0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] vectors = [1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0] colors = [0xff0000, 0x0000ff, 0x0000ff, 0xff0000, 0x0000ff, 0xff0000] plot = k3d.plot() vectors = k3d.vectors(origins, vectors, colors=colors, labels=[], label_size=1.5) plot += vectors plot.display() # In[ ]: vectors.labels = ['aa', 'bb', 'cc'] # In[ ]: vectors.labels = [] # In[ ]: vectors.head_size = 3.0 # In[ ]: