Difference between revisions of "Graph SymbolSeq"

 
(Max rewrite)
Line 3: Line 3:
 
= SysVar Graph_SymbolSeq =
 
= SysVar Graph_SymbolSeq =
  
This system variable is can be used to change the order of the symbol shapes that are used when graphing. There is currently no GUI for changing this, so the setting must be set manually through typescript, or by using Analytica code (e.g., from a button script) to change the settings.
+
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.  
  
If you set the system variable itself, the symbol sequence will be the global default.
+
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 placing the assignment in the GraphSetup attribute of the variable. You can also specify the symbol sequence for a graph template by adding the setting in the GraphSetup attribute of the template.
  
By placing the setting in the GraphSetup attribute of a graph template, you can define a symbol sequence that applies only to results that use that graph template.
+
The definition must be a tuple of integers.  You can do this by typing this into the Typescript:
 +
Graph_SymbolSeq : [9, 8, 10, 11, 12]
  
If you place the setting in the GraphSetup attribute of an individual variable, the sequence will be used only for that result.
+
This example specifies only 5 symbols. A graph needing more than 5 symbols will repeat after the first 5.  
  
The attribute should be set to a tuple of integers.  From typescript, this is done as in this example:
+
Analytica 4.0 provides 13 built-in symbols, with this map from number to symbol:
Graph_SymbolSeq : [ 9, 8, 10, 11, 12 ]
 
 
 
In this example, only 5 symbols would be used - if more than 5 items appear in the symbol key,  the symbol shape repeats after each fifth item.
 
 
 
Analytica 4.0 provides 13 built-in symbols.  You use the integer value shown as follows as the value in the tuple to select the given shape.
 
  
 
{|
 
{|

Revision as of 01:51, 2 August 2007


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.

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 placing the assignment in the GraphSetup attribute of the variable. You can also specify the symbol sequence for a graph template by adding the setting 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:

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.

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 *

See Also

Comments


You are not allowed to post comments.