From 1befd3b515c9bd603113a5f1d7c8346c45805661 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Thu, 14 Jul 2016 14:47:54 +0200 Subject: [PATCH] Make trace plots uniquely identified by adding chain number to save names --- matlab/trace_plot.m | 1 + 1 file changed, 1 insertion(+) diff --git a/matlab/trace_plot.m b/matlab/trace_plot.m index 0014fa0bb..1073480d6 100644 --- a/matlab/trace_plot.m +++ b/matlab/trace_plot.m @@ -129,6 +129,7 @@ if strcmpi(type,'PosteriorDensity') else plot_name=get_the_name(column,0,M_,estim_params_,options_); end +plot_name=[plot_name,'_blck_',num2str(blck)]; dyn_saveas(hh,[M_.fname, filesep, 'graphs', filesep, 'TracePlot_' plot_name],options_)