GaugeMarkers
is an option for gauge functions that specifies what markers to draw to mark the values.
Details
- GaugeMarkers->None turns the markers off.
- With GaugeMarkers->{g1,…,gn}, the gi are used cyclically for successive values.
- A list of built-in settings for GaugeMarkers can be obtained from ChartElementData["AngularGauge","Markers"]. A visual gallery is available in the Chart Element Schemes palette.
- GaugeMarkers can take the following forms:
-
"name" named marker appearance Graphics[…],Graphics3D[…],Image[…],… graphic or image to be used for a marker ChartElementData["name",…] chart element function None omit the marker for value f pure function for creating a gauge element {marker1,marker2,…} use markeri for the i value Placed[spec,location] place the markers in spec at location - GaugeMarkers supports the following locations inside Placed:
-
"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 - GaugeMarkers->f specifies that each gauge marker should be rendered with the graphics primitives given by f[region,values,metadata].
- In GaugeMarkers->f, the region argument to f is given as follows:
-
AngularGauge,ClockGauge {{θmin,θmax},{rmin,rmax}} HorizontalGauge,VerticalGauge,ThermometerGauge,BulletGauge {{xmin,xmax},{ymin,ymax}} - In GaugeMarkers->f, the values argument to f is given as follows for marker placements:
-
"Center","Scale","OutsideScale","InsideScale","Frame" value "ScaleRange" {region index,value} "DivisionCenter", "DivisionInterval" {{region index,subsection index},value}
Examples
Basic Examples (8)
Use a default sequence of markers to distinguish values:
Use any 2D or 3D graphics or Image as plot markers:
List built-in settings for GaugeMarkers:
For detailed settings use Palettes ▶ Chart Element Schemes:
Use Placed to change the location of the marker relative to the scale:
Use a custom object as a cumulative marker:
Construct a custom marker function:
Arguments supplied to custom functions change when the marker location changes:
Text
Wolfram Research (2012), GaugeMarkers, Wolfram Language function, https://reference.wolfram.com/language/ref/GaugeMarkers.html.
CMS
Wolfram Language. 2012. "GaugeMarkers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GaugeMarkers.html.
APA
Wolfram Language. (2012). GaugeMarkers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GaugeMarkers.html