5.3.11. Legend Command

A legend can be created for any object that plots a variable. The legend gives an approximate quantitative value to the colors representing the variable on a locator. To create a legend, select Insert > User Defined > Legend from the main menu. After a legend object is created, it is listed in the object selector under User Defined.

5.3.11.1. Legend: Definition Tab

5.3.11.1.1. Plot

Set Plot to the object for which to create a legend.


Note:  Any existing object can be selected, but if there is not a variable for which to create a legend, one is not created.


5.3.11.1.2. Location

The exact position of the legend in the viewer can be controlled using the Location settings. Set X Justification to Left, Center, Right, or None. Similarly, set Y Justification to Top, Center, Bottom, or None. In both cases, if None is selected, type in the position value(s) (or use the embedded sliders, which have a maximum value of 1 and a minimum value of 0) in the appropriate Position box (the left box is for X Justification and the right box is for Y Justification). The position values represent a fraction of the viewer width from the left side for X Position, or a fraction of the viewer height from the bottom for Y Position. The position entered is the bottom-left corner of the legend.

5.3.11.2. Legend: Appearance Tab

5.3.11.2.1. Sizing Parameters

The size of the legend can be set as a fraction of the viewer window height. Increasing the value of the Size setting increases both the height and width of the legend. Type in the size value or use the embedded slider (which has a maximum value of 1 and a minimum value of 0).

The Aspect setting controls the width of the color range bar displayed in the legend. Type in the aspect value or use the embedded slider (which has a maximum value of 0.2 and a minimum value of 0).

5.3.11.2.2. Text Parameters

The Precision setting controls the number of digits after the decimal point, for numbers displayed in the legend. Set Precision to a format of either Scientific or Fixed.

The Value Ticks setting specifies the number of graduations (with labels) displayed in the legend. For example, for a scale ranging from 0 to 10, a setting of 3 ticks produces graduations at 0, 5 and 10. For a contour plot, each number assigned to a contour line is displayed on the legend, along with its associated variable value. The Value Ticks setting has no effect when the legend is for a contour plot.