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	Tue Feb 08 19:36:54 2011 -0500
+++ b/scripts/ChangeLog	Tue Feb 08 19:46:43 2011 -0500
@@ -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	Tue Feb 08 19:36:54 2011 -0500
+++ b/scripts/plot/__go_draw_axes__.m	Tue Feb 08 19:46:43 2011 -0500
@@ -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 = "";