Difference between revisions of "Graph SymbolSeq"
(Rewrite complete) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | [[Category:System Variables]] |
+ | [[Category: Graphs]] | ||
− | = SysVar Graph_SymbolSeq = | + | == SysVar Graph_SymbolSeq == |
This system variable specifies the sequence of symbol shapes used in graphs. Each symbol is specified by a number from 1 to 13, as shown below. Analytica does not yet offer a graphical interface to access it. You can only set it via the Typescript window, or in a function called from a Button script. | This system variable specifies the sequence of symbol shapes used in graphs. Each symbol is specified by a number from 1 to 13, as shown below. Analytica does not yet offer a graphical interface to access it. You can only set it via the Typescript window, or in a function called from a Button script. | ||
− | If you set the system variable, Graph_SymbolSeq, itself, it will control the global default for all graphs. You can specify the symbol sequence for a single variable by assigning a tuple of symbol numbers to Graph_SymbolSeq in the GraphSetup attribute of the variable. You can also specify the symbol sequence for a graph template by adding the assignment in the GraphSetup attribute of the template. | + | If you set the system variable, [[Graph_SymbolSeq]], itself, it will control the global default for all graphs. You can specify the symbol sequence for a single variable by assigning a tuple of symbol numbers to Graph_SymbolSeq in the [[GraphSetup]] attribute of the variable. You can also specify the symbol sequence for a graph template by adding the assignment in the ''GraphSetup'' attribute of the template. |
− | The definition must be a tuple of integers between 1 and 13. You can do this by typing this into the Typescript: | + | The definition must be a tuple of integers between 1 and 13. You can do this by typing this into the [[Typescript]]: |
− | + | :<code>Graph_SymbolSeq: [9, 8, 10, 11, 12]</code> | |
This example specifies only 5 symbols. A graph needing more than 5 symbols will repeat after the first 5. | This example specifies only 5 symbols. A graph needing more than 5 symbols will repeat after the first 5. | ||
The default sequence is equivalent to: | The default sequence is equivalent to: | ||
− | + | :<code>Graph_SymbolSeq: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]</code> | |
− | Analytica | + | Analytica provides 13 built-in symbols, with this map from number to symbol: |
− | {| | + | :{|class="wikitable" |
− | ! | + | ! Number !! Symbol |
|- | |- | ||
− | ! | + | ! 1 |
+ | | solid circle | ||
|- | |- | ||
− | ! | + | ! 2 |
+ | | solid square | ||
|- | |- | ||
− | ! | + | ! 3 |
+ | | solid diamond | ||
|- | |- | ||
− | ! 5 | + | ! 4 |
+ | | solid upright triangle | ||
+ | |- | ||
+ | ! 5 | ||
+ | | X | ||
|- | |- | ||
− | ! 6 | + | ! 6 |
+ | | + | ||
|- | |- | ||
− | ! 7 | + | ! 7 |
+ | | Solid inverted triangle | ||
|- | |- | ||
− | ! 8 | + | ! 8 |
+ | | Hollow square | ||
|- | |- | ||
− | ! 9 | + | ! 9 |
+ | | Hollow diamond | ||
|- | |- | ||
− | ! 10 | + | ! 10 |
+ | | Hollow upright triangle | ||
|- | |- | ||
− | ! 11 | + | ! 11 |
+ | | Hollow circle | ||
|- | |- | ||
− | ! 12 | + | ! 12 |
+ | | Hollow inverted triangle | ||
|- | |- | ||
− | ! 13 | + | ! 13 |
+ | | * | ||
|} | |} | ||
− | = See Also = | + | == See Also == |
− | |||
* [[Graph_ColorSeq]] | * [[Graph_ColorSeq]] | ||
+ | * [[Graph settings]] | ||
+ | * [[Graph Setting Associations]] | ||
+ | * [[Typescript]] |
Latest revision as of 18:47, 23 June 2016
SysVar Graph_SymbolSeq
This system variable specifies the sequence of symbol shapes used in graphs. Each symbol is specified by a number from 1 to 13, as shown below. Analytica does not yet offer a graphical interface to access it. You can only set it via the Typescript window, or in a function called from a Button script.
If you set the system variable, Graph_SymbolSeq, itself, it will control the global default for all graphs. You can specify the symbol sequence for a single variable by assigning a tuple of symbol numbers to Graph_SymbolSeq in the GraphSetup attribute of the variable. You can also specify the symbol sequence for a graph template by adding the assignment in the GraphSetup attribute of the template.
The definition must be a tuple of integers between 1 and 13. You can do this by typing this into the Typescript:
Graph_SymbolSeq: [9, 8, 10, 11, 12]
This example specifies only 5 symbols. A graph needing more than 5 symbols will repeat after the first 5.
The default sequence is equivalent to:
Graph_SymbolSeq: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
Analytica provides 13 built-in symbols, with this map from number to symbol:
Number Symbol 1 solid circle 2 solid square 3 solid diamond 4 solid upright triangle 5 X 6 + 7 Solid inverted triangle 8 Hollow square 9 Hollow diamond 10 Hollow upright triangle 11 Hollow circle 12 Hollow inverted triangle 13 *
Enable comment auto-refresher