Mercurial > hg > octave-terminal
changeset 12420:7c60b2bd7f39
__go_draw_axes__.m: Properly set fontspec for legends.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Tue, 08 Feb 2011 19:46:43 -0500 |
parents | a01af8355c46 |
children | 99477f7ad5f9 |
files | scripts/ChangeLog scripts/plot/__go_draw_axes__.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2011-02-08 Ben Abbott <bpabbott@mac.com> + + * plot/__go_draw_axes__.m: Properly set fontspec for legends. + 2011-02-08 John W. Eaton <jwe@octave.org> * deprecated/complement.m, deprecated/create_set.m,
--- a/scripts/plot/__go_draw_axes__.m +++ b/scripts/plot/__go_draw_axes__.m @@ -1472,7 +1472,7 @@ pos = ""; endswitch if (__gnuplot_has_feature__ ("key_has_font_properties")) - [fontname, fontsize] = get_fontname_and_size (obj); + [fontname, fontsize] = get_fontname_and_size (hlgnd); fontspec = create_fontspec (fontname, fontsize, gnuplot_term); else fontspec = "";