29.6.3 Customizing the X–Y plot legend

The legend of an X–Y plot provides a key to associate each curve included in the plot with the X–Y data object that it represents. Each legend entry contains a line segment in the color and style shown in the plot. The legend entry also includes text stating, by default, the name of the X–Y data represented by the curve. You can customize this text using the XY Curve Options.

The remaining characteristics of the legend are controlled by options in the Viewport Annotation Options dialog box. For information on customizing the legend and on including in the legend a report of the minimum and maximum X–Y values, see Customizing the legend, Section 37.1.

To customize the legend text of an X–Y plot:

  1. Locate the XY Curve Options.

    From the main menu bar, select OptionsXY Curve; the XY Curve Options dialog box appears.

  2. From the XY Data field, select the single X–Y curve whose legend text you wish to customize.

    Note:  To make an X–Y curve available for selection, you must first plot it.

  3. Click the Legend source button and select User-specified.

  4. In the Legend text field, enter the text that you wish to appear in the legend for the X–Y curve you have selected. Your text can include blank spaces.

  5. Click Apply to implement your changes.

    The legend, if active, changes to contain the text you specify. For more information on the legend, see Customizing the legend, Section 37.1.

    Your changes are saved for the duration of the session and will affect all subsequent X–Y plots of this data.

  6. Repeat Steps 2 through 5 for each curve whose legend text you wish to customize.


For information on related topics, click the following item: