Menu

#71 axes need \'Fontsize\' property

open
nobody
5
2006-10-05
2006-10-05
No

The 'Fontsize' property of axes is used for the axes'
labels. It should be inherited by the XLabel (or
YLabel, ZLabel) children when they are set.

Discussion

  • Shai Ayal

    Shai Ayal - 2006-10-05
    • labels: --> matlab incompatibility
    • summary: axes need 'Fontsize' property --> axes need \'Fontsize\' property
     
  • Shai Ayal

    Shai Ayal - 2006-10-05

    Logged In: YES
    user_id=136223

    I don't have the "machinery" to implement thsi kind of
    inheritance in place (yet?). I see the advantage -- this
    would enable to set the default axeas fotn properties.

    Anyway, in octplot I opted for exposing all of the
    individual text objects which make up the labels, so a
    convenient workaround for now is:

    set(get(gca(),"XtickLabelHandle"),"fontsize",24);

     
  • Shai Ayal

    Shai Ayal - 2007-01-05

    Logged In: YES
    user_id=136223
    Originator: NO

    Can someone find out what matlab does in this case?

    Shai

     
  • Tormod Volden

    Tormod Volden - 2007-01-05

    Logged In: YES
    user_id=65427
    Originator: YES

    Not sure that I remember correctly and that I got your question right, but this what I have understood from the matlab documentation:
    In matlab all properties are inherited by the children, or said in another way, if an object is applicable for some property, all the parents up to the root are searched for this property.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.