|
367 | 367 |
|
368 | 368 | text_size = 10; |
369 | 369 |
|
370 | | -size_legend = size_label; |
371 | | - |
372 | 370 | %-------------------------------------------------------------------------- |
373 | 371 | % axis limits and ticks |
374 | 372 | %-------------------------------------------------------------------------- |
|
411 | 409 | title_factor_shift_x = 0; |
412 | 410 | title_factor_shift_y = -0.075; |
413 | 411 |
|
| 412 | +%-------------------------------------------------------------------------- |
| 413 | +% legend |
| 414 | +%-------------------------------------------------------------------------- |
| 415 | +legend_font = 'Times'; |
| 416 | +legend_size = label_size; |
| 417 | + |
414 | 418 | %-------------------------------------------------------------------------- |
415 | 419 | % dependent parameters |
416 | 420 | %-------------------------------------------------------------------------- |
|
446 | 450 | set( gcf, 'Position', [ 10, 10, paper_size_x, paper_size_y ] ); |
447 | 451 | set( gcf, 'PaperSize', [ paper_size_x, paper_size_y ] ); |
448 | 452 | set( gcf, 'PaperPositionMode', 'auto'); |
449 | | -set(gcf, 'NextPlot', 'replacechildren'); |
450 | 453 |
|
451 | 454 | axes_hdl = zeros( 1, N_plots_x * N_plots_y ); |
452 | 455 |
|
|
474 | 477 | % legend |
475 | 478 | %---------------------------------------------------------------------- |
476 | 479 | leg_hdl = legend( { 'linear propagation', 'nonlinear propagation' }, 'Location', 'northoutside', 'Orientation', 'horizontal', 'Units', 'centimeters' ); |
477 | | - set( leg_hdl, 'FontSize', size_legend ); |
| 480 | + set( leg_hdl, 'FontName', legend_font, 'FontSize', legend_size ); |
478 | 481 | set( leg_hdl, 'Position', [ pos_x( 2 ), pos_y( 1 ) + width_axis_y + delta_lgd, width_axis_x, height_lgd ] ); |
479 | 482 |
|
480 | 483 | %---------------------------------------------------------------------- |
|
0 commit comments