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
相關文章
相關標籤/搜索