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} = ['