标签:loading 心形 cos grid pre import atp port pac
import numpy as np
import matplotlib.pyplot as plt
t = np.linspace(0, 2*np.pi, 100)
x = 16 * np.sin(t) ** 3
y = 13 * np.cos(t) - 5 * np.cos(2*t) - 2 * np.cos(3*t) - np.cos(4*t)
plt.plot(x, y, ‘r-‘, linewidth=2)
plt.grid(True)
plt.show()
标签:loading 心形 cos grid pre import atp port pac
原文地址:https://www.cnblogs.com/monsterhy123/p/13164720.html