[Python] 纯文本查看 复制代码
def polar_CH0(rho, total, rho_1, total_1, rho_2, total_2, rho_3, total_3, rho_4, total_4, rho_5, total_5):
ax1 = plt.subplot(projection='polar')
ax1.set_title('CH0')
ax1.set_theta_zero_location('N')
ax1.set_rlim([-20, 20])
plt.polar(rho, total)
plt.polar(rho_1, total_1)
plt.polar(rho_2, total_2)
plt.polar(rho_3, total_3)
plt.polar(rho_4, total_4)
plt.polar(rho_5, total_5)
plt.show()
def polar_CH39(rho, total, rho_1, total_1, rho_2, total_2, rho_3, total_3, rho_4, total_4, rho_5, total_5):
ax2 = plt.subplot(projection='polar')
ax2.set_theta_zero_location('N')
ax2.set_rlim([-20, 20])
plt.polar(rho, total)
plt.polar(rho_1, total_1)
plt.polar(rho_2, total_2)
plt.polar(rho_3, total_3)
plt.polar(rho_4, total_4)
plt.polar(rho_5, total_5)
plt.show()
def polar_CH78(rho, total, rho_1, total_1, rho_2, total_2, rho_3, total_3, rho_4, total_4, rho_5, total_5):
ax3 = plt.subplot(projection='polar')
ax3.set_theta_zero_location('N')
ax3.set_rlim([-20, 20])
plt.polar(rho, total)
plt.polar(rho_1, total_1)
plt.polar(rho_2, total_2)
plt.polar(rho_3, total_3)
plt.polar(rho_4, total_4)
plt.polar(rho_5, total_5)
plt.show()