GaugeLabels

GaugeLabels

is an option for gauge functions that specifies labels to be placed on the gauge.

Details

  • GaugeLabels can take the following forms:
  • Noneno gauge labels
    Automaticinclude units as labels
    Fullinclude units and a value as labels
    Allinclude all values as labels
    "Value"include values as labels
    "Unit"include units as labels
    labeluse label as a label
    Placed[label,pos]place label at position pos
    {label1,label2,}use multiple labels
  • GaugeLabels->None or GaugeLabels->{} will not include any labels.
  • GaugeLabels->label specifies a label at an automatic location on the gauge.
  • Any expression can be specified as a label. It will be given by default in TraditionalForm. Arbitrary strings of text can be given as "text".
  • With the setting of GaugeLabels->"Value", a numeric representation of the gauge value is included on the gauge.
  • If units are present, the setting of GaugeLabels->"Unit" will include a label of the units on the gauge.
  • If there are multiple markers, only the first value is labeled automatically.
  • GaugeLabels->Placed[label,pos] includes label at position pos.
  • GaugeLabels->{label1,label2,} includes multiple labels in the gauge.
  • In gauge functions, Placed allows the following positions:
  • Top,Bottom,Left,Right,Centerpositions within the gauge face
    bsposition along the scale
    Scaled[bs]scaled position along the scale
    {bx,by}scaled position {bx,by} in the gauge
    {pos,{lx,ly}}scaled position {lx,ly} in the label at general position pos in the gauge

Examples

open allclose all

Basic Examples  (12)

Use Automatic to display the gauge value:

Place a label on the gauge:

Labels can be any expression:

If units are present, they can be added as a label to the gauge:

Use GaugeLabels->Full to label the gauge value and units if present:

Use Placed to control label placement:

Add a display of the gauge units:

Use a list to specify more than one label:

Position labels at values along the scale:

Position labels using a scaled coordinate system along the scale:

Use a scaled coordinate system over the entire gauge:

Place all labels at the middle of the scale and vary the coordinates within the label:

Scope  (2)

Labels use TraditionalForm by default:

Use StandardForm instead:

Individually styled labels can be used together with LabelStyle and have higher priority:

Generalizations & Extensions  (1)

Use graphics as a gauge label:

Applications  (1)

Use ColorData image as a label:

Properties & Relations  (1)

The overall output format can be specified using FormatType:

Possible Issues  (2)

When different format types are combined, the result is likely to be unpredictable:

Only the value of the first marker is used for the numeric display:

Use GaugeLabels->All to label all of the gauge values:

Wolfram Research (2012), GaugeLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/GaugeLabels.html.

Text

Wolfram Research (2012), GaugeLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/GaugeLabels.html.

CMS

Wolfram Language. 2012. "GaugeLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GaugeLabels.html.

APA

Wolfram Language. (2012). GaugeLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GaugeLabels.html

BibTeX

@misc{reference.wolfram_2023_gaugelabels, author="Wolfram Research", title="{GaugeLabels}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/GaugeLabels.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_gaugelabels, organization={Wolfram Research}, title={GaugeLabels}, year={2012}, url={https://reference.wolfram.com/language/ref/GaugeLabels.html}, note=[Accessed: 19-March-2024 ]}