极坐标图数据翻转

时间:2021-01-18 12:47:32

标签: python matplotlib polar-coordinates

我正在尝试将数据翻转到 45 度而不是 135 度,如下图所示。

我的 ploar 绘图代码是

R= ( file_array.max(axis=1)/np.amax(file_array.max(axis=1)))
ax = plt.subplot(111, polar=True)
ax.plot(radians,abs(R))
ax.set_xlabel('relative amplitude')
ax.xaxis.set_label_coords(1, 0.2)
ax.set_thetamin(0)
ax.set_thetamax(180)
ax.set_thetagrids(range(0, 181, 30))

需要这样的图片
enter image description here

根据我的代码

enter image description here

0 个答案:

没有答案