# HG changeset patch # User Ben Abbott # Date 1282908924 14400 # Node ID 2a25f282e965201b3ecfcc8e1ecb2eaeba24a0df # Parent c0434971d0a852bd0747fbfeb48beb06c374bde0 __gnuplot_print__.m: Properly restore fontsize after eps output. diff -r c0434971d0a8 -r 2a25f282e965 scripts/ChangeLog --- a/scripts/ChangeLog Fri Aug 27 06:50:22 2010 -0400 +++ b/scripts/ChangeLog Fri Aug 27 07:35:24 2010 -0400 @@ -1,5 +1,6 @@ 2010-08-27 Ben Abbott + * plot/__gnuplot_print__.m: Properly restore fontsize after eps output. * plot/plotyy.m: Modified demo for changeset 10912 9abc67b4bd4f. * plot/__fltk_print__.m, plot/__go_draw_axes__.m, plot/__go_draw_figure__.m, plot/__gnuplot_print__.m, diff -r c0434971d0a8 -r 2a25f282e965 scripts/plot/__gnuplot_print__.m --- a/scripts/plot/__gnuplot_print__.m Fri Aug 27 06:50:22 2010 -0400 +++ b/scripts/plot/__gnuplot_print__.m Fri Aug 27 07:35:24 2010 -0400 @@ -163,7 +163,7 @@ [h, fontsize] = get_figure_text_objs (opts); unwind_protect for n = 1:numel(h) - set (h, "fontsize", 2 * fontsize{n}); + set (h(n), "fontsize", 2 * fontsize{n}); endfor local_drawnow (sprintf ("postscript eps %s", gp_opts), epsfile, opts); if (opts.tight_flag) @@ -171,7 +171,7 @@ endif unwind_protect_cleanup for n = 1:numel(h) - set (h, "fontsize", fontsize{n}); + set (h(n), "fontsize", fontsize{n}); endfor end_unwind_protect endfunction