标签:ddl span form nbsp import dsa com sig function
参数方程定义:
np.sin函数, 生成sin正弦函数
import numpy as np import matplotlib.pyplot as plt a = 8 b = 9 t = np.linspace(-np.pi, np.pi, 201) x = np.sin(a *t + np.pi/2) y = np.sin(b * t) plt.plot(x, y) plt.show()
import numpy as np import matplotlib.pyplot as plt a = np.sqrt(2) b = 9 t = np.linspace(-np.pi, np.pi, 201) x = np.sin(a * t + np.pi/2) y = np.sin(b * t) plt.plot(x, y) plt.show()
标签:ddl span form nbsp import dsa com sig function
原文地址:https://www.cnblogs.com/draven123/p/11403074.html