diff --git a/eval_methods.m b/eval_methods.m index d73b624..7f7f1ca 100755 --- a/eval_methods.m +++ b/eval_methods.m @@ -367,8 +367,6 @@ text_size = 10; -size_legend = size_label; - %-------------------------------------------------------------------------- % axis limits and ticks %-------------------------------------------------------------------------- @@ -411,6 +409,12 @@ title_factor_shift_x = 0; title_factor_shift_y = -0.075; +%-------------------------------------------------------------------------- +% legend +%-------------------------------------------------------------------------- +legend_font = 'Times'; +legend_size = label_size; + %-------------------------------------------------------------------------- % dependent parameters %-------------------------------------------------------------------------- @@ -446,7 +450,6 @@ set( gcf, 'Position', [ 10, 10, paper_size_x, paper_size_y ] ); set( gcf, 'PaperSize', [ paper_size_x, paper_size_y ] ); set( gcf, 'PaperPositionMode', 'auto'); -set(gcf, 'NextPlot', 'replacechildren'); axes_hdl = zeros( 1, N_plots_x * N_plots_y ); @@ -474,7 +477,7 @@ % legend %---------------------------------------------------------------------- leg_hdl = legend( { 'linear propagation', 'nonlinear propagation' }, 'Location', 'northoutside', 'Orientation', 'horizontal', 'Units', 'centimeters' ); - set( leg_hdl, 'FontSize', size_legend ); + set( leg_hdl, 'FontName', legend_font, 'FontSize', legend_size ); set( leg_hdl, 'Position', [ pos_x( 2 ), pos_y( 1 ) + width_axis_y + delta_lgd, width_axis_x, height_lgd ] ); %----------------------------------------------------------------------