diff --git a/matlab/rplot.m b/matlab/rplot.m index de200511d..5adf956ae 100644 --- a/matlab/rplot.m +++ b/matlab/rplot.m @@ -14,7 +14,7 @@ function rplot(s1) % SPECIAL REQUIREMENTS % none -% Copyright (C) 2001-2019 Dynare Team +% Copyright (C) 2001-2021 Dynare Team % % This file is part of Dynare. % @@ -78,9 +78,9 @@ if options_.rplottype == 0 hh=dyn_figure(options_.nodisplay,'Name', 'Simulated Trajectory'); plot(ix(i),y(:,i)) ; if options_.TeX - title (['Plot of $' strjoin(s1_TeX, '~') '$'],'Interpreter','latex') ; + title (['Plot of $' strjoin(s1_TeX', '~') '$'],'Interpreter','latex') ; else - title (['Plot of ' strjoin(s1, ' ')],'Interpreter','none') ; + title (['Plot of ' strjoin(s1', ' ')],'Interpreter','none') ; end xlabel('Periods') ; xlim([min(ix(i)) max(ix(i))]) @@ -160,4 +160,4 @@ fprintf(fidTeX,'\\includegraphics[width=%2.2f\\textwidth]{%s}\n',0.8*scale_facto fprintf(fidTeX,'\\caption{%s.}',caption); fprintf(fidTeX,'\\label{Fig:%s:%s}\n',label_name,label_type); fprintf(fidTeX,'\\end{figure}\n\n'); -end \ No newline at end of file +end