MS-SBVAR: option 'Orientation' for 'legend' is unknown to Octave

time-shift
Michel Juillard 2011-05-31 11:52:50 +02:00
parent d53a1f5d04
commit 89e2858e7a
1 changed files with 5 additions and 1 deletions

View File

@ -144,7 +144,11 @@ function plot_ms_variance_decomposition(M_, vd, title_, graph_save_formats, ...
plot(x(2:end)',steady(:,k), '--k','LineWidth',2.25);
end
if k==K
lh = legend(shock_names,'Location','BestOutside','Orientation','horizontal');
if exist('OCTAVE_VERSION')
lh = legend(shock_names,'Location','BestOutside');
else
lh = legend(shock_names,'Location','BestOutside','Orientation','horizontal');
end
end
hold off