1. 鸡蛋型
解析式:
x = 0.7*cos(t/4)*sin(t)
y = cos(t)
图像:
python程序:
import numpy as npimport matplotlib.pyplot as pltt = np.linspace(-np.pi, np.pi, 100)x = 0.7 * np.cos(t/4) * np.sin(t)y = -np.cos(t)plt.plot(x,y)plt.xlim(-1,1)plt.ylim(-1,1)plt.show()
未完待续