AddSurfaceFuncMap Method

The AddSurfaceFuncMap method adds a 3D surface function map to an existing 3D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoSurfaceFuncMap object.

Syntax

object.AddSurfaceFuncMap( function, firstX, lastX, firstZ, lastZ, xAxis, yAxis, zAxis, id )

Parameter Type Description
function String required, function Y = f(X,Z)
firstX Variant optional, default = -25
lastX Variant optional, default = 25
firstZ Variant optional, default = -25
lastZ Variant optional, default = 25
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 surface function map.

Graph.AddSurfaceFuncMap(“(pow(x,2) + pow(z,2)) * (sin(8*atan2(x,z)))”)

 

 

Used by: AutoGraph object

See Also

AddSurfaceFuncMapGraph