Note
Go to the end to download the full example code.
Visualize Coordinate Frame#
import numpy as np
import pytransform3d.visualizer as pv
fig = pv.figure()
fig.plot_basis(R=np.eye(3), p=[0.1, 0.2, 0.3])
fig.view_init(azim=15, elev=30)
fig.set_zoom(1.0)
if "__file__" in globals():
fig.show()
else:
fig.save_image("__open3d_rendered_image.jpg")
Total running time of the script: (0 minutes 0.211 seconds)