Skip to content
Snippets Groups Projects
Commit a5969735 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Add xlim to rplot.m

Prevents excessive white space
parent 12d51470
No related branches found
No related tags found
1 merge request!1275Replace hline in dyn_latex_table.m by proper booktabs style
......@@ -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