#極坐標 (漂亮的玫瑰線)
import numpy as np
import matplotlib.pyplot as plt
t = np.linspace(0,10 * np.pi,500)
plt.figure(figsize=(15,20),dpi=80)
for a in range(1,13):
r=np.cos(a*t)
x= r*np.cos(t)
y= r*np.sin(t)
plt.subplot(4,3,a)
plt.plot(x,y,color="green",linewidth=3)
plt.show()