AddTernaryPlot Method

The AddTernaryPlot method adds a new ternary plot to an existing ternary diagram, equivalent to Graph | Add to Graph | Plot. Returns an AutoTernaryPlot object.

Syntax

object.AddTernaryPlot( worksheet, xCol, yCol, zCol, id )

 

Parameter Type Description
worksheet String required, full path and file name of the data
xCol Variant optional, default = 1 (column A)
yCol Variant optional, default = 2 (column B)
zCol Variant optional, default = 3 (column C)
id Variant optional, plot name

 

Example

This example shows how to add a ternary plot.

Graph3.AddTernaryPlot(GrapherApp.Path + "\samples\ternary.dat")

 

Used by: AutoGraph object

See Also

AddTernaryGraph