axes = fig.gca(projection='3d')
t_step = 8
for t_pos in range(0, len(t) - 1, t_step):
    t_val_start = t[t_pos]
vel_start = [rx(t_val_start), ry(t_val_start), t_val_start]
vel_end = [rx(t_val_start) + vx(t_val_start), ry(t_val_start) + vy(
    t_val_start), t_val_start]
vel_vecs = list(zip(vel_start, vel_end))
vel_arrow = Arrow3D(vel_vecs[0], vel_vecs[1], vel_vecs[2], mutation_scale=
    20, lw=1, arrowstyle='-|>', color='g')
axes.add_artist(vel_arrow)
acc_start = [rx(t_val_start), ry(t_val_start), t_val_start]
acc_end = [rx(t_val_start) + ax(t_val_start), ry(t_val_start) + ay(
    t_val_start), t_val_start]
acc_vecs = list(zip(acc_start, acc_end))
acc_arrow = Arrow3D(acc_vecs[0], acc_vecs[1], acc_vecs[2], mutation_scale=
    20, lw=1, arrowstyle='-|>', color='m')
axes.add_artist(acc_arrow)
axes.plot(rx(t), ry(t), t)
plt.xlim(-2 * np.pi, 2 * np.pi)
plt.ylim(-6, 6)
Python — построение векторов скорости и ускорения в определенных точках