# 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 all

## Basic Examples(7)

Specify a range of the scale to be styled:

 In[1]:=
 Out[1]=

Style the background of the entire scale:

 In[1]:=
 Out[1]=

Specify multiple ranges of the scale to be styled:

 In[1]:=
 Out[1]=

Ranges need not be contiguous or distinct:

 In[1]:=
 Out[1]=

Directly associate a style with a range with range->style:

 In[1]:=
 Out[1]=

Directly associate a style with the entire background range:

 In[1]:=
 Out[1]=

Specify a range and a width for the range:

 In[1]:=
 Out[1]=