Mercurial > hg > octave-lojdl
changeset 8205:5bf8a57f85d5
__axis_label__.m: Inherit font properties from axes.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Thu, 09 Oct 2008 07:42:34 -0400 |
parents | 963f94ba4e2a |
children | 0168d22e6bba |
files | scripts/ChangeLog scripts/plot/__axis_label__.m |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-10-09 Ben Abbott <bpabbott@mac.com> + + * plot/__axis_label__.m: Inherit font properties from axes. + 2008-10-08 John W. Eaton <jwe@octave.org> * miscellaneous/fileparts.m: Handle "/file" properly.
--- a/scripts/plot/__axis_label__.m +++ b/scripts/plot/__axis_label__.m @@ -31,8 +31,12 @@ else rot = 0; endif - - h = __go_text__ (ca, "string", txt, "rotation", rot, varargin{:}); + h = __go_text__ (ca, "fontangle", get (ca, "fontangle"), + "fontname", get (ca, "fontname"), + "fontsize", get (ca, "fontsize"), + "fontunits", get (ca, "fontunits"), + "fontweight", get (ca, "fontweight"), + "string", txt, "rotation", rot, varargin{:}); set (ca, caller, h); if (nargout > 0) retval = h;