LabelingSize

LabelingSize

is an option to visualization functions that specifies the size to be used for labels and callouts.

Details

  • LabelingSize controls the size of labels that come from Callout, Labeled and related options.
  • The following settings can be given:
  • Automaticautomatic size for images and graphics
    smaximum width and height specified by s
    {w,h}maximum width and height specified by w and h
    Allautomatic size for all labels
    Fulloriginal size for all labels
  • With LabelingSize->Automatic, labels that are images or graphics will have a maximum size determined by the space available to place them.
  • The sizes s, w and h are maximum sizes given in printer's points.

Examples

open allclose all

Basic Examples  (2)

Images are automatically sized when used as labels:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Give a specific maximum height and width:

In[7]:=
Click for copyable input
Out[7]=

Use the full-size image where possible, and tooltips for the rest:

In[8]:=
Click for copyable input
Out[8]=

By default, textual labels show the entire label:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Give an explicit size for textual labels:

In[3]:=
Click for copyable input
Out[3]=

Scope  (2)

See Also

Callout  Labeled  PlotLabels  ChartLabels  LabelingFunction  ItemSize  Pane  ImageSize

Introduced in 2018
(11.3)