Enter or edit curve legend, labels, or legend title.
You can embed placeholder codes for certain data parameters (minima, maxima, standard deviation, etc.) in the legend entries and legend title that will be replaced with the corresponding numeric values when the plot is drawn. You can also present the results of equations within the text of the legend. For more information on placeholder codes click here.
Maximum number of characters
Character strings for the legend are limited to 80 characters. Curve labels are limited to 40 characters, and are placed beside the last data point that is located within the plot window.
Legend title
The legend title will be placed above the legend for each of the individual curves. If no legend is specified for any curve, the legend title may still be used to draw a note on the plot.
Curve label
Curve labels are (usually) short text strings drawn adjacent to the last data point in a curve. This might be useful when a plot is a bit too crowded to draw a proper legend, as shown in this example.
Legend line length
Length of the line segment appearing to the left of each legend string. The line is drawn with the same attributes (color, style, and pen width) as the associated curve.
Maximum number of rows
Refers to the maximum number of legend strings that will be placed in a single column. Additional columns will be used if the number of legends exceeds this number.
Number of symbols to use
Specifies how many symbols are drawn in each legend entry (for curves that use symbols). Limited to 0-3. Note that DPlot does nothing to ensure these symbols will not overlap; symbols in the legend are drawn the same size as the corresponding symbols in the plot. The width of the area used to draw symbols is controlled solely by the Legend line length entry.
Frame legend
Check this box to draw a rectangle around the legend.
Opaque
Check this box to hide items that intersect the rectangle bounding the legend.
Hide Legend
Check this box to hide (not draw) the legend.
Shortcut:
| Double click on the legend. |
Note:
To move the legend, point to the legend and drag to the desired location. To edit an existing legend, you can use this command again, double-click on the legend to bring up this dialog box, or right-click on the legend to change settings.
Character formatting
The legend title and individual legend character strings may include formatting codes for subscripts, superscripts, etc., as described below.
|
To use subscripts, select the text (highlight using the cursor) you want to format as subscript, then click this button. Shortcut: CTRL+↓ |
|
To use superscripts, select the text (highlight using the cursor) you want to format as superscript, then click this button. Shortcut: CTRL+↑ |
|
To insert special characters (Greek letters, trademark symbols) found in the Symbol font, click on the insertion point, then click this button. Shortcut: CTRL+S |
|
To make a portion of the text bold, select the text (highlight using the cursor) you want to format as bold, then click this button. Shortcut: CTRL+B |
|
To make a portion of the text italic, select the text (highlight using the cursor) you want to format as italic, then click this button. Shortcut: CTRL+I |
|
To make a portion of the text underlined, select the text (highlight using the cursor) you want to format as underlined, then click this button. Shortcut: CTRL+U |
|
To double the size of one or more characters, select the applicable characters (highlight using the cursor), then click this button. Shortcut: CTRL+2 |
|
To use a custom color on a portion of the text, select the text (highlight using the cursor) you want to draw using a different color, then click this button. Shortcut: CTRL+K |
Format codes
The formatting buttons simply insert special characters into the text that have specific meaning to DPlot. Use of these buttons is not strictly necessary - you can of course physically type these codes with the same result. Format codes may be nested, so you can have (for example), subscripted Greek characters or subscripts of subscripts. Note that the bold, italic, and underline codes will have no effect if the font already possesses that attribute. In other words, using {\b} on a bold font will not make the font "bolder".
Format |
Code |
Example |
Result |
Bold |
{\btext} |
{\bBold} text |
Bold text |
Italic |
{\itext} |
{\iItalic} text |
Italic text |
Subscript |
{\dtext} |
P{\dso} |
|
Superscript |
{\utext} |
X{\u2} + Y{\u2} |
|
Symbol |
{\stext} |
e{\u(-{\sa}t)} |
|
Underline |
{\_text} |
{\_underlined} text |
underlined text |
Enlarged |
{\2text} |
{\2{\sS}}x |
|
Color |
{\cBBGGRRtext} |
{\c0000FFRed} Text |
Red Text |
Overbar |
{\otext} |
{\oY}=56.23 |
|
{\w1text} |
{\w1N} Danger {\w1N} |
|
|
Wingdings 2 |
{\w2text} |
{\w2R} Passed |
|
Wingdings 3 |
{\w3text} |
Arrows {\w3!"#$} and\nmore arrows {\w3NOPQ} |
|
|
Related macro commands |
Page url: http://www.dplot.com/help/index.htm?helpid_legend.htm