|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
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 OptionsDetails and Options
- Values less than min or greater than max are clipped to the respective limits.
- Undefined values or bad input is taken to be missing and typically displays the min value.
- Units may be assigned to value, min, and max by using Quantity.
- The units do not need to be the same, but must be compatible.
-
- AngularGauge has the same options as Graphics with the following additions and changes:
-
GaugeFaceElementFunction Automatic function to draw the face GaugeFaceStyle Automatic style for the gauge face GaugeFrameElementFunction Automatic function to draw the frame GaugeFrameSize Automatic how large to make the gauge frame GaugeFrameStyle Automatic style for the gauge frame GaugeLabels None labels for the gauge GaugeMarkers Automatic appearance for the marker GaugeStyle Automatic style for gauge markers Method Automatic method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize ScaleDivisions Automatic the number and distribution of ticks ScaleOrigin Automatic where to position the scale in the gauge ScalePadding Automatic how to draw the space around the scale ScaleRanges None the sections of the scale to be styled ScaleRangeStyle Automatic how to draw the scale ranges ScalingFunctions None scaling functions for the gauge TargetUnits Automatic units to display in the gauge - GaugeLabels can take the following forms:
-
None no gauge labels Automatic include units as labels Full include units and a value as labels All include all values as labels "Value" include values as labels "Unit" include units as labels label use label as a label Placed[label,pos] place label at position pos {label1,label2,...} use multiple labels - GaugeLabels->Placed[label, pos] can use the positions pos:
-
Top,Bottom,Left,Right,Center positions within the gauge face bs position along the scale Scaled[bs] scaled position along the scale {bx,by} scaled position
in the gauge{pos,{lx,ly}} scaled position
in the label at general position pos in the gauge - A list of built-in settings for GaugeMarkers, GaugeFrameElementFunction, and GaugeFrameElementFunction can be obtained from ChartElementData["AngularGauge"]. A visual gallery is available in the Chart Element Schemes palette.
- GaugeMarkers->Placed[marker, pos] can be used to control where the marker is placed in the gauge. The possible positions pos are:
-
"Center" center of the dial face "DivisionCenter" cumulative markers centered on division marks "DivisionInterval" cumulative markers between division marks "Scale" within the scale region "OutsideScale" outside the scale region "InsideScale" inside the scale region "ScaleRange" cumulative marker within the scale region "Frame" within the dial frame - ScaleOrigin can take the following values:
-
r radius of the scale Left,Right,Bottom,Top on which side to center the scale {
min,
max}angular locations of min and max for the scale {angle,r} angular and radial origins for the scale - The angles in ScaleOrigin are measured in radians, counterclockwise from the positive
axis. The values need not be between 0 and
. - Scales run counterclockwise when
and clockwise when
. - If Abs[
max-
min]>2Pi, the scale will overlap itself. - The radial component r of the scale origin is scaled to run from 0 at the center of the gauge to 1 at the edge of the face.
- ScalePadding can take the following forms:
-
p angular padding p on each end of the scale {pmin,pmax} padding
before the scale and
afterNone no padding around the scale Automatic automatically determined padding Full pad to the nearest chord of a circle All pad the scale to make a complete circle - TargetUnits->Automatic automatically selects the units based on the input. If no units are present, none will be displayed.
- TargetUnits->unit displays unit in the gauge, even if no units were present in the input.
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



