AddSurfaceGridMap Method

The AddSurfaceGridMap method adds a 3D surface grid map to an existing 3D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoSurfaceGridMap object.

Syntax

object.AddSurfaceGridMap( gridfile, xAxis, yAxis, zAxis, id )

Parameter Type Description
gridfile String required, data's full path and file name
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 surface grid map.

Graph.AddSurfaceGridMap(GrapherApp.Path + "\samples\helens2.grd")

 

Used by: AutoGraph object

See Also

AddSurfaceGridMapGraph