lims = [Inf, -Inf; Inf, -Inf];lims(3,:) = [res(3), res(3) * length(files_in_order)];
这相当于,给原矩阵lims直接增加一行