111:代表1行1列其中的第一张字符(字图)
指定坐标轴为极坐标轴
调用绘图函数:plot
import matplotlib.pyplot as plt
%matplotlib inline
r = [1,2,3,4,5,6]
thera = [0.0, 1.5248756,2.54788762,5.14525889,2.331458,3.554411223]
ax=plt.subplot(111,projection='polar')
ax.plot(theta,r)
r = [1,2,3,4,5] #极径
theta=[0.0,1.5707963267948966,3.141592653589793,4.71238898038469,6.283185307179586] #角度
year=range(2005,2020)
height=[157,160,162,163,167,170,176,175,174,179,182,182,182,182.182,183]