matplotlib极坐标

实践一: import numpy as np import matplotlib.pyplot as plt r=np.arange(1,6,1) theta=[0,np.pi/2,np.pi,3np.pi/2,2np.pi] ax=plt.subplot(111,projection=‘polar’) ax.plot(theta,r,color=‘r’,linewidth=3) ax.grid
相关文章
相关标签/搜索