GaugeMarkers

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
    Noneomit the marker for value
    fpure function for creating a gauge element
    {marker1,marker2,}use markeri for the i^(th) 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:

Turn the markers on and off:

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 cumulative markers:

Use a custom object as a cumulative marker:

Construct a custom marker function:

Arguments supplied to custom functions change when the marker location changes:

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

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

BibTeX

@misc{reference.wolfram_2024_gaugemarkers, author="Wolfram Research", title="{GaugeMarkers}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/GaugeMarkers.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_gaugemarkers, organization={Wolfram Research}, title={GaugeMarkers}, year={2012}, url={https://reference.wolfram.com/language/ref/GaugeMarkers.html}, note=[Accessed: 21-November-2024 ]}