Author |
Topic  |
|
a_user
USA
0 Posts |
|
a_user
USA
0 Posts |
Posted - 08/20/1998 : 2:48:00 PM
|
Legend Notation with Text ControlThe documentation is correct and your response indicates you don't understand the Legend notation(s).
Any Text object can be a Legend if it uses the embedded text formatting switch for a Legend:
\L()
The arguments (what goes in the parentheses) to this switch determine ultimate appearance, but in no case is \L(1) equivalent to a filled circle.
Here are the three forms of \L():
SYNTAX | Documentation Page | Example
| \L(DataListPosition) | 347 | \L(2) The symbol used by the second dataset in the existing layer.
| \L(LayerNumber.DataPlotNumber,DataPointNumber) | 348 | \L(2.1,6) The symbol used by the sixth point of the first dataset in layer 2.
| \L(O(ColorSym,Sym,Fill,Size,ColorLn,LineStyle,Gap,LnWidth)) | 350 | \L(O(2,1,3,6,4,0,7,5)) Green, Square, Hollow, 6pt, Cyan, Solid, 7%gap, 5pt
|
Note that the first and second of these notations require that a datapoint exists (is plotted) with the desired formatting, while the third notation allows any of the options that are in the drop-down lists for Line/Symbol Color, Shape, Style, or Type. You can see these lists in the Plot Details dialog of any plot, accessed by selecting Format:Plot from the main Origin menu for any Graph window.
The second notation is useful when you have multi-layer plots and desire a single Legend object. The third is useful if you want a Legend that displays a symbol even if you have no instance of that symbol type.
|
 |
|
a_user
USA
0 Posts |
|
a_user
USA
0 Posts |
|
|
Topic  |
|
|
|