На следующем рисунке каждый блок по оси x представляет интервал 10 минут. Я хотел бы настроить ярлыки оси x, так что он показывает часы, то есть отображает тикер каждые 6 единиц (60 минут). Я новичок в matplotlib. Может кто-нибудь мне помочь? Благодаря ~
Вот код для приведенного выше рисунка.
x = arange(0, size_x, dx)
y = arange(0, size_y, dy)
X,Y = meshgrid(x, y)
Z = foo(x,y)
pcolor(X, Y, Z, cmap=cm.Reds)
colorbar()
axis([0,size_x-1,0,size_y-1])
show()