如何反转y_axis?Z是一个np.array.Thank你
Z=TempLake
X,Y=np.meshgrid(range(Z.shape[0]+1),range(Z.shape[1]+1))
im = plt.pcolormesh(X,Y,Z.transpose(), cmap='hot')
plt.colorbar(im, orientation='horizontal')
plt.show()
我有这个:
我需要这个:
https://stackoverflow.com/questions/11777381
复制相似问题