AddTernaryClassPlot Method
The AddTernaryClassPlot method adds a new ternary class plot to an existing ternary diagram, equivalent to Graph | Add to Graph | Plot. Returns an AutoTernaryClassPlot object.
Syntax
object.AddTernaryClassPlot( worksheet, xCol, yCol, zCol, cCol, id )
Parameter | Type | Description |
worksheet | String | required, data's full path and file name |
xCol | Variant | optional, default = 1 (column A) |
yCol | Variant | optional, default = 2 (column B) |
zCol | Variant | optional, default = 3 (column C) |
cCol | variant | optional, class column, default = 4 (column D) |
id | Variant | optional, plot name |
Example
This example shows how to add a ternary class plot.
Graph3.AddTernaryClassPlot(GrapherApp.Path + "\samples\ternary class.dat")
Used by: AutoGraph object