function[e] = update_aggregates(e); fig = gcf; plotwindow_id = num2str(fig); table = findobj('Tag','aggragate_table'); agg_strings = {}; for i = 1:length(e.aggregates) agg_strings{i,1} = 1; color_str = ['#' sprintf('%02s', dec2hex(e.aggregates(i).color(1)*255)) ... sprintf('%02s', dec2hex(e.aggregates(i).color(2)*255)) ... sprintf('%02s', dec2hex(e.aggregates(i).color(3)*255))] agg_strings{i,2} = ['
  • '... e.aggregates(i).name{1} ... '
  • ']; agg_strings{i,3} = e.aggregates(i).error.name; end set(table, 'Data', agg_strings); e = e.calculate_aggregates; e = e.plot_aggregates(table, []);