AngularGauge

AngularGauge[value]

draws a gauge showing value in the range 0 to 1.

AngularGauge[value,{min,max}]

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

AngularGauge[Dynamic[value],]

allows value to be set interactively using the gauge.

AngularGauge[{value1,value2,},]

draws a gauge showing multiple values.

Details and Options

Examples

open allclose all

Basic Examples  (4)

Generate a dial gauge for a particular value:

Generate a gauge using values with units:

Generate a gauge that displays multiple values:

Generate a dial gauge with an interactive value:

Scope  (22)

Data and Layouts  (7)

Data values are clipped to be within the range of the scale:

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

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

Generate a gauge using values with units:

Specify the displayed units with TargetUnits:

Change the position of the scale:

Display the gauge as a semicircle:

Use Dynamic to make an interactive gauge:

Styling and Appearance  (9)

Use a theme to control the overall appearance:

Use explicit styles for the markers:

Use any gradient or indexed color schemes from ColorData to style the markers:

Change the type of markers used:

Change where the markers are placed:

Use any graphic or image for the marker:

Change the style of the face of the gauge:

Change the style of the frame around the gauge:

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

Labeling  (6)

Use GaugeLabels to add a label to the gauge face:

Add a display of the scale value:

Add a display of the gauge units:

Show units and scale value:

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

Use a list to specify more than one label:

Options  (87)

AspectRatio  (2)

AspectRatio is automatic by default, resulting in perfect circles:

Use a fixed ratio to change the shape of the gauge:

Background  (1)

Insert a background color behind the gauge:

Use GaugeFaceStyle to set the face style:

Frame  (4)

AngularGauge does not use a frame by default:

Use FrameTrue to draw a frame around the plot:

Draw a frame on the left and right edges:

Draw a frame on the left and bottom edges:

FrameStyle  (2)

Specify the style of the frame:

Specify the style for each frame edge:

GaugeFaceElementFunction  (3)

List built-in settings for GaugeFaceElementFunction:

For detailed settings, use Palettes Chart Element Schemes:

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  (3)

List built-in settings for GaugeFrameElementFunction:

For detailed settings, use Palettes Chart Element Schemes:

Construct a custom rendering function:

GaugeFrameSize  (3)

Make the frame have an explicit width scaled to the size of the gauge face:

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  (10)

Show the value as a label:

Specify a label:

Labels can be any expression:

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

Use Placed to control label placement:

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:

Use a list to specify more than one label:

GaugeMarkers  (8)

Turn the markers on and off:

List built-in settings for GaugeMarkers:

For detailed settings, use Palettes Chart Element Schemes:

Use an image or graphic for a marker:

Use Placed to change the location of the marker:

Fill a cumulative bar to the value:

Fill segments that are centered on division values:

Sequential markers are activated when the value rounds to the division value:

Fill segments that are between division values:

Sequential markers are activated when the value is greater than or equal to the division value:

Use an image or graphic for a cumulative marker:

GaugeStyle  (5)

Style the gauge marker:

By default, different styles are chosen for multiple markers:

Specify a list of styles:

Use any gradient or indexed color schemes from ColorData:

Specify the style for cumulative markers up to the gauge value:

Specify an additional style for markers beyond the gauge value:

Use None to not use any style:

ImageSize  (7)

Use named sizes such as Tiny, Small, Medium and Large:

Specify the width of the plot:

Specify the height of the plot:

Specify the width and height for a graphic, padding with space if necessary:

Use maximum sizes for the width and height:

Use ImageSizeFull to fill the available space in an object:

Specify the image size as a fraction of the available space:

LabelStyle  (1)

Style the labels:

PerformanceGoal  (2)

Generate a gauge with tooltips on the gauge markers:

Emphasize performance by disabling interactive behaviors:

PlotTheme  (4)

Create gauges using a variety of base themes:

Combine the base themes with the "GaugeHalf" feature theme:

Combine the "Marketing" theme with a scale origin:

The "Sparkline" theme fits gauges in the surrounding text:

ScaleDivisions  (2)

Specify the total number of divisions:

Specify the number of major and minor divisions:

ScaleOrigin  (4)

Use ScaleOrigin to specify a radial position for the scale:

Use a relative location for the center of the scale:

Specify a starting and ending angle for the scale:

Change the order of the endpoints to reverse the scale direction:

Change the endpoints to use the opposite arc of the scale:

Change the order of the endpoints to reverse the scale direction:

Specify a radial and angular position for the scale:

ScalePadding  (5)

Use automatically determined angular padding:

Full padding will ensure a "nice" dial face shape:

Leave no angular padding around the scale:

Specify a constant angular padding:

Specify different angular padding on each side:

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, using range->style:

ScaleRanges appears in front of the gauge face:

Change the scale range width:

Vary the width for each scale range:

ScaleRangeStyle  (8)

By default, the scale ranges are styles based on the marker color:

Apply a style to every range:

Use a list of directives to style each range separately:

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 color schemes:

Define a one-dimensional color function:

TargetUnits  (2)

By default, units are determined automatically:

Specify the displayed units:

Applications  (6)

Use a gauge as a control in Manipulate:

Visualize leaf count for successive integrals:

Monitor memory used by processes with an indicator of the max memory used:

Monitor progress when integrating a differential equation:

Visualize properties of noble gases:

Visualize the first two derivatives of a polynomial:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_angulargauge, author="Wolfram Research", title="{AngularGauge}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AngularGauge.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_angulargauge, organization={Wolfram Research}, title={AngularGauge}, year={2015}, url={https://reference.wolfram.com/language/ref/AngularGauge.html}, note=[Accessed: 22-December-2024 ]}