ScaleRanges
is an option for gauge functions that describes how to draw sections of the scale.
Details
- The followings setting can be used for ScaleRanges:
-
None no ranges drawn All draw background for the entire scale {vmin,vmax} the scale should be styled from vmin to vmax {{vmin,vmax},r} the scale should be styled from vmin to vmax, with range size 0 to r {{vmin,vmax},{rmin,rmax}} the scale should be styled from vmin to vmax, with range size rmin to rmax {range1,range2,…} multiple ranges given by range1, range2, etc. {range1->s1,…} range range1 with style s1 etc. - By default, no scale ranges are drawn on gauges.
- If vmin or vmax is not within the range of the scale, then it is clipped to the endpoints of the scale.
- The range endpoints vmin and vmax need not be in numerical order.
- The scale itself is taken to be at r=0. For angular gauges, r increases to r=1 at the center of the gauge. For horizontal gauges, r increases to r=1 at the top of the gauge face. For vertical gauges, r increases to r=1 at the left edge of the face.
- The ranges specified by ScaleRanges need not be contiguous. If multiple ranges overlap, they will be drawn in the order specified.
- The default sequence of styles and colors for ScaleRanges is based on the style used for the first marker's style, according to GaugeStyle.
- The style si in rangei->si may take the same forms as in ScaleRangeStyle.
Examples
open allclose allBasic Examples (7)
Properties & Relations (2)
ScaleRanges follow the scale region:
The styles for ScaleRanges are chosen based on the style of the first GaugeStyle:
Wolfram Research (2012), ScaleRanges, Wolfram Language function, https://reference.wolfram.com/language/ref/ScaleRanges.html.
Text
Wolfram Research (2012), ScaleRanges, Wolfram Language function, https://reference.wolfram.com/language/ref/ScaleRanges.html.
CMS
Wolfram Language. 2012. "ScaleRanges." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ScaleRanges.html.
APA
Wolfram Language. (2012). ScaleRanges. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ScaleRanges.html