I am trying to plot Treasuries data with a surface plot with the following axis:
X=Maturity
Y=Dates (already in numeric form date2num)
Z=yield
I am using the following commands:
fig = plt.figure()
ax = fig.gca(projection='3d')
surf = ax.plot_surface(X, Y, Z, cmap=cm.coolwarm,linewidth=0, antialiased=False)
How can I display the Y axis as dates?Here is my plot, I already used date2num