[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[changeset] - x,y,zlabel/title respect axes font properties
From: |
John W. Eaton |
Subject: |
[changeset] - x,y,zlabel/title respect axes font properties |
Date: |
Thu, 09 Oct 2008 10:26:44 -0400 |
On 9-Oct-2008, Ben Abbott wrote:
| This changeset sets the font properties for the xlabel, ylabel,
| zlabel, and title in a manner consistent with Matlab.
|
| Meaning as new axis labels are set via xlabel(), ylabel(), zlabel(),
| title() their font properties default to that of their parent axis.
| -
| - 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{:});
If you are inheriting from the parent axes object, then shouldn't you
get the properties from CA instead of GCA()?
jwe
- [changeset] - x,y,zlabel/title respect axes font properties, Ben Abbott, 2008/10/09
- [changeset] - x,y,zlabel/title respect axes font properties,
John W. Eaton <=
- [changeset] - x,y,zlabel/title respect axes font properties, John W. Eaton, 2008/10/09
- [changeset] - x,y,zlabel/title respect axes font properties, John W. Eaton, 2008/10/09
- Re: [changeset] - x,y,zlabel/title respect axes font properties, Ben Abbott, 2008/10/09
- Re: [changeset] - x,y,zlabel/title respect axes font properties, Michael Goffioul, 2008/10/10
- Re: [changeset] - x,y,zlabel/title respect axes font properties, John W. Eaton, 2008/10/10
- Re: [changeset] - x,y,zlabel/title respect axes font properties, Michael Goffioul, 2008/10/10
- Re: [changeset] - x,y,zlabel/title respect axes font properties, Ben Abbott, 2008/10/11
- Re: [changeset] - x,y,zlabel/title respect axes font properties, Ben Abbott, 2008/10/11
- Re: [changeset] - x,y,zlabel/title respect axes font properties, Ben Abbott, 2008/10/10
- Re: [changeset] - x,y,zlabel/title respect axes font properties, Daniel J Sebald, 2008/10/10