Revision ea88b3bc868dd0753ff90f2adda0aaca4474e7fb authored by Niklas Neubrand on 18 July 2024, 08:33:01 UTC, committed by GitHub on 18 July 2024, 08:33:01 UTC
Update Links to DREAM challenges. The domain changed.
1 parent 3f56245
arParamScatter.m
function arParamScatter(ncols, nrows)
global ar
if(isempty(ar.chi2s_sorted))
arPlotChi2s
end
sumples = size(ar.pLabel);
sumples = sumples(2);
if(~exist('ncols', 'var') || isempty(ncols))
ncols = ceil(sumples^(0.4))+1;
nrows = ceil(sumples/ncols);
end
if(~exist('nrows', 'var') || isempty(nrows))
nrows = ceil(sumples/ncols);
end
somebound = 1;
min_chi = ar.chi2s_sorted(1);
chi_step = find(ar.chi2s_sorted < min_chi + somebound);
ar.chi2s_sorted(chi_step);
if size(ar.chi2s_sorted(chi_step)) < 5
warning('there are less than 5 points on the lowest step')
end
i = 1;
j = 1;
for param = ar.pLabel
subplot(ncols, nrows, i)
plot(ar.ps_sorted(1:chi_step(end), i), ar.chi2s_sorted(chi_step), '*')
title(param)
xlim([min(ar.ps_sorted(1:chi_step(end), i)) - 1, max(ar.ps_sorted(1:chi_step(end), i)) + 1])
ylim([min(ar.chi2s_sorted(chi_step)) - 3, max(ar.chi2s_sorted(chi_step)) + 3])
i = i + 1;
end
end
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...