Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > Graphics Annotation & Appearance > LabelStyle >

LabelStyle

LabelStyle
is an option for formatting and related constructs that specifies the style to use in displaying their label-like elements.
  • Any style specification as used in Style can be used as a setting for LabelStyle.
  • Typical forms of settings include:
"style"a named style from the current stylesheets
{opt1->val1,...}a list of explicit option settings
{"style",opt1->val1,...}a named style modified by option settings
  • Color directives such as Red, as well as text specifications such as Bold or Small, can be given in place of options, just as in Style.
  • Giving the option setting LabelStyle->spec is effectively equivalent to replacing the label-like elements of a formatting or related construct by Style.
  • Any outside styles not explicitly overridden by settings in LabelStyle will still be used.
Specify overall style of all the label-like elements:
Frame labels are affected by LabelStyle:
Specify overall style of all the label-like elements:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Frame labels are affected by LabelStyle:
Use compounded styles, using Directive:
Individually styled labels can be used with LabelStyle and have higher priority:
AxesStyle can be used together with LabelStyle and has higher priority:
TicksStyle can be used together with LabelStyle and has higher priority:
FrameStyle can be used together with LabelStyle and has higher priority:
FrameTicksStyle can be used together with LabelStyle and has higher priority:
Interactive manipulation of label style:
New in 6 | Last modified in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF