Plot VectorΒΆ

Does this need more documentation?

plot vector
import numpy as np
import matplotlib.pyplot as plt
from pytransform3d.plot_utils import plot_vector

    # A vector is defined by start, direction, and s (scaling)
    start=np.array([-0.3, -0.2, -0.3]),
    direction=np.array([1.0, 1.0, 1.0]),
    ax_s=0.5,  # Scaling of 3D axes
    lw=0,  # Remove line around arrow

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

Gallery generated by Sphinx-Gallery