# HG changeset patch # User Ben Abbott # Date 1223552554 14400 # Node ID 1496d0d604971df268c45ddce64bb2f6c2b40922 # Parent 963f94ba4e2a998eb34b82451b4b879badfdc3dd __axis_label__.m: Inherit font properties from axes. diff -r 963f94ba4e2a -r 1496d0d60497 scripts/ChangeLog --- a/scripts/ChangeLog Wed Oct 08 14:31:59 2008 -0400 +++ b/scripts/ChangeLog Thu Oct 09 07:42:34 2008 -0400 @@ -1,3 +1,7 @@ +2008-10-09 Ben Abbott + + * plot/__axis_label__.m: Inherit font properties from axes. + 2008-10-08 John W. Eaton * miscellaneous/fileparts.m: Handle "/file" properly. diff -r 963f94ba4e2a -r 1496d0d60497 scripts/plot/__axis_label__.m --- a/scripts/plot/__axis_label__.m Wed Oct 08 14:31:59 2008 -0400 +++ b/scripts/plot/__axis_label__.m Thu Oct 09 07:42:34 2008 -0400 @@ -31,8 +31,12 @@ else rot = 0; endif - - h = __go_text__ (ca, "string", txt, "rotation", rot, varargin{:}); + h = __go_text__ (ca, "fontangle", get (gca, "fontangle"), + "fontname", get (gca, "fontname"), + "fontsize", get (gca, "fontsize"), + "fontunits", get (gca, "fontunits"), + "fontweight", get (gca, "fontweight"), + "string", txt, "rotation", rot, varargin{:}); set (ca, caller, h); if (nargout > 0) retval = h;