VariableOfInterest='LR'; Column=strcmp(tobj(1).DataNames,VariableOfInterest); figure, for i=1:length(x) plot(t{i},x{i}(:,Column)./(x{i}(end,Column)),'Color',rand(3,1)) hold on end legendname={}; for i=1:length(x) legendname{end+1}= num2str(tobj(i).RunInfo.Variant.Content{1}{4}); end legend(legendname) title(['Effect of Varying ', tobj(1).RunInfo.Variant.Content{1}{2}]) xlabel('Time') ylabel('Normalized Amount') endpoints=[]; for i=1:length(x) endpoints(i)=(x{i}(end,Column)); end