Difference between revisions of "Graph SymbolSeq"
(Max rewrite) |
(Rewrite complete) |
||
Line 3: | Line 3: | ||
= SysVar Graph_SymbolSeq = | = SysVar Graph_SymbolSeq = | ||
− | This system variable specifies the sequence of symbol shapes used in graphs. 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 itself, it will control the global default for all graphs. You can specify the symbol sequence for a single variable by | + | 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. 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: |
Graph_SymbolSeq : [9, 8, 10, 11, 12] | 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. | 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 4.0 provides 13 built-in symbols, with this map from number to symbol: | Analytica 4.0 provides 13 built-in symbols, with this map from number to symbol: |
Revision as of 21:28, 2 August 2007
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 4.0 provides 13 built-in symbols, with this map from number to 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