|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
GaugeLabels
GaugeLabels
is an option for gauge functions that specifies labels to be placed on the gauge.
DetailsDetails
- GaugeLabels can take the following forms:
-
None no gauge labels Automatic include units as labels Full include units and a value as labels All include all values as labels "Value" include values as labels "Unit" include units as labels label use label as a label Placed[label,pos] place label at position pos {label1,label2,...} use multiple labels - GaugeLabels->None or GaugeLabels->{} will not include any labels.
- GaugeLabels->label specifies a label at an automatic location on the gauge.
- Any expression can be specified as a label. It will be given by default in TraditionalForm. Arbitrary strings of text can be given as
. - With the setting of GaugeLabels->"Value", a numeric representation of the gauge value is included on the gauge.
- If units are present, the setting of GaugeLabels->"Unit" will include a label of the units on the gauge.
- If there are multiple markers, only the first value is labeled automatically.
- GaugeLabels->Placed[label, pos] includes label at position pos.
- GaugeLabels->{label1, label2, ...} includes multiple labels in the gauge.
- In gauge functions, Placed allows the following positions:
-
Top,Bottom,Left,Right,Center positions within the gauge face bs position along the scale Scaled[bs] scaled position along the scale {bx,by} scaled position
in the gauge{pos,{lx,ly}} scaled position
in the label at general position pos in the gauge
ExamplesExamplesopen allclose all
Basic Examples (12)Basic Examples (12)
Use Automatic to display the gauge value:
| In[1]:= |
| Out[1]= | ![]() |
| In[1]:= |
| Out[1]= | ![]() |
| In[1]:= |
| Out[1]= | ![]() |
If units are present, they can be added as a label to the gauge:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
Use GaugeLabels->Full to label the gauge value and units if present:
| In[1]:= |
| Out[1]= | ![]() |
Use Placed to control label placement:
| In[1]:= |
| Out[1]= | ![]() |
Add a display of the gauge units:
| In[1]:= |
| Out[1]= | ![]() |
Use a list to specify more than one label:
| In[1]:= |
| Out[1]= | ![]() |
Position labels at values along the scale:
| In[1]:= |
| Out[1]= | ![]() |
Position labels using a scaled coordinate system along the scale:
| In[1]:= |
| Out[1]= | ![]() |
Use a scaled coordinate system over the entire gauge:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
Place all labels at the middle of the scale and vary the coordinates within the label:
| In[1]:= |
| Out[1]= | ![]() |
| In[2]:= |
| Out[2]= | ![]() |
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



















