Visualize VectorΒΆ

vis vector
print(__doc__)


import numpy as np
import pytransform3d.visualizer as pv


fig = pv.figure()
fig.plot_vector(start=np.array([0.0, 0.0, 0.0]),
                direction=np.array([1.0, 1.0, 0.0]),
                c=(1.0, 0.5, 0.0))
fig.plot_transform(A2B=np.eye(4))
fig.view_init()
if "__file__" in globals():
    fig.show()
else:
    fig.save_image("__open3d_rendered_image.jpg")

Total running time of the script: ( 0 minutes 0.274 seconds)

Gallery generated by Sphinx-Gallery