I have been trying to add axis to a surf plot i have. I've tried various suggestions but can't get it to work. I have 3 matrices:
final -> 3460x300 double
spec -> 1x300 double (x-axis)
timedate -> 1x3460 double (y-axis)
The timedate matrix values are converted time and dates with date2num.
I tried
plot = surf(final);
set(plot,'LineStyle','none');
which gives me the correct graph but the axis are wrong. See image:

When i try
[xx,yy] = meshgrid(spec,timedate)
plot2 = surf(xx,yy,final);
set(plot,'LineStyle','none');
It gives me the correct axis but the graph seems stretched

How could i solve this?
Thanks in advance