ThermometerGauge

ThermometerGauge[value]

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

ThermometerGauge[value,{min,max}]

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

ThermometerGauge[Dynamic[value],]

allows value to be set interactively using the thermometer.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Generate a thermometer gauge for a particular value:

Generate a thermometer gauge using values with units:

Scope  (15)

Data and Layouts  (4)

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

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

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

Specify temperatures using units:

Specify the displayed units with TargetUnits:

Styling and Appearance  (5)

Use a theme to control the overall appearance:

Use explicit styles for the markers:

Change the face style for the gauge:

Change the style of the frame around the gauge:

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

Labeling and Legending  (6)

Use GaugeLabels to add a label to the gauge face:

Add a display of the scale value:

Add a display of the thermometer units:

Show units and scale value:

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

Add multiple labels to the gauge face:

Options  (49)

Background  (1)

Insert a background color behind the gauge:

Use GaugeFaceStyle to set the face style:

GaugeFaceElementFunction  (3)

List built-in settings for GaugeFaceElementFunction:

For detailed settings use Palettes ChartElementSchemes:

Write a custom GaugeFaceElementFunction:

GaugeFaceStyle  (3)

Specify the style for the gauge face:

Use None to turn off the face:

Use a Texture as a gauge face:

GaugeFrameElementFunction  (2)

List built-in settings for GaugeFrameElementFunction:

For detailed settings, use Palettes ChartElementSchemes:

GaugeFrameSize  (3)

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

Use None to turn off the frame:

Use named sizes for the frame:

GaugeFrameStyle  (1)

Use directives to change the rendering of the gauge frame:

GaugeLabels  (6)

Show the value as a label:

Specify a label:

Labels can be any expression:

Use Placed to control label placement:

Use a scaled coordinate system over the entire gauge:

Use a list to specify more than one label:

GaugeStyle  (1)

Style the gauge marker:

LabelStyle  (1)

Style the labels:

PerformanceGoal  (3)

Generate a gauge with interaction highlighting and improved aesthetics:

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

Typically, less memory is required for noninteractive charts:

PlotTheme  (5)

Create gauges using a variety of base themes:

Specify a theme with minimal elements:

Change the gauge color:

Combine themes:

Modify a theme with options:

ScaleDivisions  (2)

Specify the total number of ticks divisions:

Specify the number of major and minor ticks:

ScaleRanges  (7)

Highlight a range of values on the scale:

Specify multiple ranges:

Style the entire region behind the scale:

Ranges need not be contiguous or distinct:

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

ScaleRanges draws in front of the gauge face:

Change the scale range width:

ScaleRangeStyle  (7)

By default, scale ranges styles are based on GaugeStyle:

Apply a style to all of the ranges:

Use a list of directives to style the ranges:

Styles will repeat cyclically if necessary:

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

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

Color the scale ranges with built-in ColorData gradients:

TargetUnits  (2)

By default, units are determined automatically:

Specify the displayed units:

TicksStyle  (2)

Specify overall ticks style:

Use None to not draw ticks:

Applications  (1)

Monitor recent weather conditions for a location:

Introduced in 2012
 (9.0)
 |
Updated in 2014
 (10.0)
2015
 (10.1)