« View all new features in
Mathematica
9
◄
previous
|
next
►
New in
Mathematica
9
›
Gauges
Gauge Frames
Vary the size, color, and appearance of gauge frames.
In[1]:=
X
Grid[Table[ AngularGauge[RandomInteger[{1, 100}], {0, 100}, GaugeStyle -> GrayLevel[0.25], GaugeFrameSize -> s, GaugeFrameElementFunction -> f, GaugeFrameStyle -> Hue[s]], {s, {0.05, 0.2, 0.4}}, {f, {"BezelSector", "GlassSector", "Sector"}}]]
Out[1]=
In[2]:=
X
Grid[{Flatten[Table[ VerticalGauge[RandomInteger[{1, 100}], {0, 100}, GaugeStyle -> GrayLevel[0.25], GaugeFrameSize -> s, GaugeFrameElementFunction -> f, GaugeFrameStyle -> Hue[0.5 + 4 s]], {s, {0.05, 0.1}}, {f, {"GlassRectangle", "FadingRectangle", "Rectangle"}}]]}]
Out[2]=