[問題] imshow取消單位要怎麼做?

看板Python作者 (5245566)時間10年前 (2015/04/28 13:16), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
index1 = find_index(xf, 0.4) index2 = find_index(xf, 1.6) minyear = datetime.datetime.fromtimestamp(np.min(timeval)).year maxyear = datetime.datetime.fromtimestamp(np.max(timeval)).year plt.figure() plt.title('Time and frequency_before') plt.xlabel("Date") plt.ylabel("Frequency (cycles/day)") plt.imshow(yf[index1:index2, :], origin='lower', aspect='auto', interpolation='nearest', extent=[minyear, maxyear, xf[index1], xf[index2]]) plt.colorbar() 結果圖: http://imgur.com/gzvzPYo
minyear的值是2007 maxyear的值是2013 請問要如何不讓他變成指數型態呢?? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.113.134.94 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1430198170.A.2DD.html

04/28 19:55, , 1F
04/28 19:55, 1F
文章代碼(AID): #1LFnUQBT (Python)
文章代碼(AID): #1LFnUQBT (Python)