Mercurial > hg > octave-jordi
changeset 10915:2a25f282e965
__gnuplot_print__.m: Properly restore fontsize after eps output.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Fri, 27 Aug 2010 07:35:24 -0400 |
parents | c0434971d0a8 |
children | 5074494f01a9 |
files | scripts/ChangeLog scripts/plot/__gnuplot_print__.m |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,6 @@ 2010-08-27 Ben Abbott <bpabbott@mac.com> + * 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,
--- a/scripts/plot/__gnuplot_print__.m +++ b/scripts/plot/__gnuplot_print__.m @@ -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