CreateFrequenceDiagram

From Catglobe Wiki
Revision as of 08:40, 28 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



createFrequenceDiagram

Creates a frequency diagram from the axis name specified. A unique id is returned when a diagram is added.

Syntax

createFrequenceDiagram(axisName)

Arguments

axisName: Is a string expression. This string specifies the name of the axis which must for the frequency diagram.

Return type

number: Id of the added diagram. Diagram id starts from 1 and will increase by one for each time one of the functions createFrequenceDiagram or createCrossDiagram are called. The ids will keep on increasing for the duration of the script

Examples

number a = createFrequenceDiagram("Q5_SQ_3");

print(a); //Result: 1

number b = createFrequenceDiagram("Q5_SQ_5");

print(b); //Result: 2

Note Note: You have to change axis names in example to axis names of DCS that you're working on.