AddContourFuncMap Method
The AddContourFuncMap method adds a Contour function map to an existing 3D graph, equivalent to Graph Tools | Add to Graph | Plot. Returns an AutoContourFuncMap object.
Syntax
object.AddContourFuncMap( function, firstX, lastX, firstZ, lastZ, xAxis, yAxis, zAxis, id )
Parameter | Type | Description |
function | String | required, function Y = f(X,Z) |
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, graph name |
Remarks
3D graphs can only be added to other 3D graphs.
Example
This example shows how to add a XY Contour function map to an existing graph.
Graph.AddContourFuncMap(“(pow(x,2) + pow(z,2)) * (sin(8*atan2(x,z)))”, False)
Used by: AutoGraph object
See Also