AddContourDataMap Method

The AddContourDataMap method adds a 3D contour data map to an existing 3D graph, equiva­lent to Graph | Add to Graph | Plot. Returns an AutoContourDataMap object.

Syntax

object.AddContourDataMap( worksheet, xCol, yCol, zCol, xAxis, yAxis, zAxis, 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)
bXZ Variant optional, default = false, true for XZ Map
xAxis Variant optional, ID of X axis to use for plot (default = uses first X axis in graph)
yAxis Variant optional, ID of Y axis to use for plot (default = uses first Y axis in graph)
zAxis Variant optional, ID of Z axis to use for plot (default = uses first Z axis in graph)
id Variant optional, plot name

 

Remarks

3D graphs can only be added to other 3D graphs.

Example

This example shows how to add a contour data map.

Graph.AddContourDataMap(GrapherApp.Path + "\samples\demo­grid.dat")

 

Used by: AutoGraph object

See Also

AddContourDataMapGraph