Hi,
My code:
Print Y
fig = plt.figure(figsize = plt.figaspect(0.5))
ax = fig.add_subplot(1, 1, 1, projection='3d')
surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap = cm.gist_rainbow, linewidth=0, antialiased=False)
print Y
ax.yaxis.set_major_formatter(matplotlib.dates.DateFormatter('%H:%M:%S\n%m/%d/%Y'))
#ax.yaxis.set_major_locator(dates.MinuteLocator())
fig.colorbar(surf)
plt.show()
Result:
[[ 1.34503975e+09 1.34503975e+09 1.34503975e+09 ..., 1.34503975e+09
1.34503975e+09 1.34503975e+09]
[ 1.34503980e+09 1.34503980e+09 1.34503980e+09 ..., 1.34503980e+09
1.34503980e+09 1.34503980e+09]
[ 1.34503986e+09 1.34503986e+09 1.34503986e+09 ..., 1.34503986e+09
1.34503986e+09 1.34503986e+09]
Comes a error message up, when I try to do the set_major_locator. I just want to plot the dates on the yaxis as Date and Time and not seconds from Epoch.