WOLFRAM

Copy to clipboard.

draws a thermometer showing value in a range of 0 to 1.

Copy to clipboard.
ThermometerGauge[value,{min,max}]

draws a thermometer showing value in a range of min to max.

Copy to clipboard.

allows value to be set interactively using the thermometer.

Details and Options

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Generate a thermometer gauge for a particular value:

Out[1]=1

Generate a thermometer gauge using values with units:

Out[1]=1

Scope  (15)Survey of the scope of standard use cases

Data and Layouts  (4)

Data values do not have to be within the range of the scale:

Out[1]=1

Nonreal data is taken to be missing and uses the minimum value of the gauge:

Out[1]=1

The min and max specified are sorted so that the smaller number of the list is always the min:

Out[1]=1

Specify temperatures using units:

Out[1]=1

Specify the displayed units with TargetUnits:

Out[2]=2

Styling and Appearance  (5)

Use a theme to control the overall appearance:

Out[1]=1

Use explicit styles for the markers:

Out[1]=1

Change the face style for the gauge:

Out[1]=1

Change the style of the frame around the gauge:

Out[1]=1

Specify ranges of the scale to be colored by the index on the dial face:

Out[1]=1

Labeling and Legending  (6)

Use GaugeLabels to add a label to the gauge face:

Out[1]=1

Add a display of the scale value:

Out[1]=1

Add a display of the thermometer units:

Out[1]=1

Show units and scale value:

Out[1]=1

Use Placed to change the location of the label on the face of the gauge:

Out[1]=1

Add multiple labels to the gauge face:

Out[1]=1

Options  (49)Common values & functionality for each option

Background  (1)

Insert a background color behind the gauge:

Out[1]=1

Use GaugeFaceStyle to set the face style:

Out[2]=2

GaugeFaceElementFunction  (3)

List built-in settings for GaugeFaceElementFunction:

Out[1]=1

For detailed settings use Palettes ChartElementSchemes:

Out[1]=1

Write a custom GaugeFaceElementFunction:

Out[2]=2

GaugeFaceStyle  (3)

Specify the style for the gauge face:

Out[1]=1

Use None to turn off the face:

Out[1]=1

Use a Texture as a gauge face:

Out[1]=1

GaugeFrameElementFunction  (2)

List built-in settings for GaugeFrameElementFunction:

Out[1]=1

For detailed settings, use Palettes ChartElementSchemes:

Out[1]=1

GaugeFrameSize  (3)

Use an explicit width in the graphics coordinate system to draw the frame:

Out[1]=1

Use None to turn off the frame:

Out[1]=1

Use named sizes for the frame:

Out[1]=1

GaugeFrameStyle  (1)

Use directives to change the rendering of the gauge frame:

Out[1]=1

GaugeLabels  (6)

Show the value as a label:

Out[1]=1

Specify a label:

Out[1]=1

Labels can be any expression:

Out[1]=1

Use Placed to control label placement:

Out[1]=1

Use a scaled coordinate system over the entire gauge:

Out[1]=1

Use a list to specify more than one label:

Out[1]=1

GaugeStyle  (1)

Style the gauge marker:

Out[1]=1

LabelStyle  (1)

Style the labels:

Out[1]=1

PerformanceGoal  (3)

Generate a gauge with interaction highlighting and improved aesthetics:

Out[1]=1

Turn off interactive highlighting and use a simpler appearance for increased speed:

Out[1]=1

Typically, less memory is required for noninteractive charts:

Out[1]=1

PlotTheme  (5)

Create gauges using a variety of base themes:

Out[1]=1

Specify a theme with minimal elements:

Out[1]=1

Change the gauge color:

Out[1]=1

Combine themes:

Out[1]=1

Modify a theme with options:

Out[1]=1

ScaleDivisions  (2)

Specify the total number of ticks divisions:

Out[1]=1

Specify the number of major and minor ticks:

Out[1]=1

ScaleRanges  (7)

Highlight a range of values on the scale:

Out[1]=1

Specify multiple ranges:

Out[1]=1

Style the entire region behind the scale:

Out[1]=1

Ranges need not be contiguous or distinct:

Out[1]=1

Directly associate a style with a range with range->style:

Out[1]=1

ScaleRanges draws in front of the gauge face:

Out[1]=1

Change the scale range width:

Out[1]=1
Out[2]=2

ScaleRangeStyle  (7)

By default, scale ranges styles are based on GaugeStyle:

Out[1]=1

Apply a style to all of the ranges:

Out[1]=1

Use a list of directives to style the ranges:

Out[1]=1

Styles will repeat cyclically if necessary:

Out[1]=1

Use ScaleRangeStyle->{None,style} to apply a style to the scale only:

Out[1]=1

Apply a style to the backgrounds and foregrounds of all the ranges:

Out[1]=1

Color the scale ranges with built-in ColorData gradients:

Out[1]=1

TargetUnits  (2)

By default, units are determined automatically:

Out[1]=1

Specify the displayed units:

Out[1]=1

TicksStyle  (2)

Specify overall ticks style:

Out[1]=1

Use None to not draw ticks:

Out[1]=1

Applications  (1)Sample problems that can be solved with this function

Monitor recent weather conditions for a location:

Out[2]=2
Wolfram Research (2012), ThermometerGauge, Wolfram Language function, https://reference.wolfram.com/language/ref/ThermometerGauge.html (updated 2015).
Copy to clipboard.
Wolfram Research (2012), ThermometerGauge, Wolfram Language function, https://reference.wolfram.com/language/ref/ThermometerGauge.html (updated 2015).

Text

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

Copy to clipboard.
Wolfram Research (2012), ThermometerGauge, Wolfram Language function, https://reference.wolfram.com/language/ref/ThermometerGauge.html (updated 2015).

CMS

Wolfram Language. 2012. "ThermometerGauge." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/ThermometerGauge.html.

Copy to clipboard.
Wolfram Language. 2012. "ThermometerGauge." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/ThermometerGauge.html.

APA

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

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

BibTeX

@misc{reference.wolfram_2024_thermometergauge, author="Wolfram Research", title="{ThermometerGauge}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/ThermometerGauge.html}", note=[Accessed: 10-January-2025 ]}

Copy to clipboard.
@misc{reference.wolfram_2024_thermometergauge, author="Wolfram Research", title="{ThermometerGauge}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/ThermometerGauge.html}", note=[Accessed: 10-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_thermometergauge, organization={Wolfram Research}, title={ThermometerGauge}, year={2015}, url={https://reference.wolfram.com/language/ref/ThermometerGauge.html}, note=[Accessed: 10-January-2025 ]}

Copy to clipboard.
@online{reference.wolfram_2024_thermometergauge, organization={Wolfram Research}, title={ThermometerGauge}, year={2015}, url={https://reference.wolfram.com/language/ref/ThermometerGauge.html}, note=[Accessed: 10-January-2025 ]}