AutoContourBaseMap Object

The AutoContourBaseMap object is the base object for all contour map types.

All methods of the AutoContourBaseMap object apply to the AutoContourDataMap object, AutoContourFuncMap object, and AutoContourGridMap object.

Derived from: AutoPlot object (All methods and properties of AutoPlot apply to this object.)

Properties

BlankingFill

BlankingLine

ClearOverlayMap

ColorScale

Fill

FillContours

Levels

Line

ShowColorScale

YPos Property

Methods

DisplayGridInfo

SetOverlayMap

Example

The following script demonstrates how the AutoContourBaseMap object is used.

Sub Main

'Declares GrapherApp as an object

Dim GrapherApp As Object

 

'Creates an instance of the Grapher Application object

'and assigns it to the variable named "GrapherApp"

Set GrapherApp = CreateObject("Grapher.Application")

 

'Makes Grapher visible

GrapherApp.Visible = True

 

'Creates a plot document in Grapher and assigns

'it to the variable named "Plot"

Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

'Declares Graph as an object

Dim Graph As Object

 

'Create Contour Base Map

Set Graph = Plot.Shapes.AddContourBaseMapGraph("C:\Program Files\Golden Software\Grapher\Samples\DEMOGRID.DAT",1,2,3)

 

'Declares ContourXYBaseMap as object

Dim ContourXYBaseMap as object

 

'Set the Contour Map to the ContourXYBaseMap object

Set ContourXYBaseMap = Graph.Plots.Item(1)

 

End Sub