Skip to content
Snippets Groups Projects
Commit cc88b7eb authored by Houtan Bastani's avatar Houtan Bastani Committed by GitHub
Browse files

Merge pull request #1275 from JohannesPfeifer/dyn_latex_table

Replace hline in dyn_latex_table.m by proper booktabs style
parents f0909834 a5969735
Branches
Tags
No related merge requests found
......@@ -93,7 +93,7 @@ if nargin==11
end
fprintf(fidTeX,header_string);
fprintf(fidTeX,'\\midrule \\endhead \n');
fprintf(fidTeX,['\\bottomrule \\multicolumn{',num2str(size(headers,1)),'}{r}{(Continued on next page)} \\\\ \\hline \\endfoot \n']);
fprintf(fidTeX,['\\midrule \\multicolumn{',num2str(size(headers,1)),'}{r}{(Continued on next page)} \\\\ \\bottomrule \\endfoot \n']);
fprintf(fidTeX,'\\bottomrule \\endlastfoot \n');
for i=1:size(values,1)
fprintf(fidTeX,label_format_leftbound,deblank(labels(i,:)));
......
......@@ -85,6 +85,7 @@ if rplottype == 0
plot(ix(i),y(:,i)) ;
title (t,'Interpreter','none') ;
xlabel('Periods') ;
xlim([min(ix(i)) max(ix(i))])
if size(s1,1) > 1
if isoctave
legend(s1);
......@@ -101,6 +102,7 @@ elseif rplottype == 1
for j = 1:size(y,1)
hh=dyn_figure(options_,'Name',['Simulated Trajectory']);
plot(ix(i),y(j,i)) ;
xlim([min(ix(i)) max(ix(i))])
title(['Plot of ' s1(j,:)],'Interpreter','none') ;
xlabel('Periods') ;
dyn_saveas(hh,[M_.fname, filesep, 'graphs', filesep, 'SimulatedTrajectory_' deblank(s1(j,:))],options_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment