Matlab: dpca_plot_default does not work for data with ndims < 4
cboulay opened this issue · comments
Chadwick Boulay commented
I know the intention is for the user to write their own plotting function, but I came across a small fix that could make dpca_plot_default more generalizable. dpca_plot_default assumes the time dimension is in the data's 4th dimension. A simple fix would be to change this line to:
time = 1:size(data,ndims(data));
Dmitry Kobak commented
That's a good catch, @cboulay. Thanks. Fixed.