I don't know whether I'm doing something wrong, or whether this is a bug. When I use
in which t is a timeseries given in the matlab continuous time datenum, surf only plots two bins in the t-dimension. My guess is this has something to do with the too small relative difference between the vector elements, so surf bins them together. But why does surf do this and how can I prevent this? I need datenum to then be able to use dateticks.
My current solutions is to substract floor(t) from t, so that my timeseries starts some hours after the 0 point of the datenum time. This is ok for now, because I only need the hours on the axis. But if I need more, it might not work.