Python在已知参数方程情况下绘制三维曲线
已知螺旋线的参数方程{x=costy=sintz=t\left\{\begin{array}{l}x=\cos t\\y=\sin t \\z=t\end{array}\right.⎩⎨⎧x=costy=sintz=timport matplotlib.pyplot as pltimport numpy as npax = plt.axes(projection='3d') # 设置三维图形模式z = np.arange(-50, 50, 0.1) # z坐标范围-50~50