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: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]]:
Graph_SymbolSeq : [9, 8, 10, 11, 12]
+
:<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:
Graph_SymbolSeq : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
+
:<code>Graph_SymbolSeq: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]</code>
  
Analytica 4.0 provides 13 built-in symbols, with this map from number to symbol:
+
Analytica provides 13 built-in symbols, with this map from number to symbol:
  
{|
+
:{|class="wikitable"
! 1 || solid circle
+
! Number !! Symbol
 
|-
 
|-
! 2 || solid square
+
! 1
 +
| solid circle
 
|-
 
|-
! 3 || solid diamond
+
! 2
 +
| solid square
 
|-
 
|-
! 4 || solid upright triangle
+
! 3
 +
| solid diamond
 
|-
 
|-
! 5 || X
+
! 4
 +
| solid upright triangle
 +
|-
 +
! 5  
 +
| X
 
|-  
 
|-  
! 6 || +
+
! 6  
 +
| +
 
|-
 
|-
! 7 || Solid inverted triangle
+
! 7  
 +
| Solid inverted triangle
 
|-
 
|-
! 8 || Hollow square
+
! 8  
 +
| Hollow square
 
|-
 
|-
! 9 || Hollow diamond
+
! 9  
 +
| Hollow diamond
 
|-
 
|-
! 10 || Hollow upright triangle
+
! 10  
 +
| Hollow upright triangle
 
|-
 
|-
! 11 || Hollow circle
+
! 11  
 +
| Hollow circle
 
|-
 
|-
! 12 || Hollow inverted triangle
+
! 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 *

See Also

Comments


You are not allowed to post comments.