AutoVectorPlot Object

The AutoVectorPlot object controls 2D vector plot settings.

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

Properties

AngleCol

ApplyColorColToSymLine

ArrowScale

ColorScale

ColorScaling

DirectionCol

EndArrow

Gradient

Labels

LengthMode

Line

MagnitudeCol

MaxDataValue

MaxLength

MinDataValue

MinLength

RepeatSymbols

ShowColorScale

ShowSymbolTableLegend

StartArrow

Symbol

SymbolAngle

SymbolCol

SymbolFillColorCol

SymbolFreq

SymbolTableLegendObj

UseSymbolTable

VectorType

X2Col

XCol

Y2Col

YCol

Methods

LoadSymbolTable

Example

The following script demonstrates how the AutoVectorPlot 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

 

'Add a vector plot

Set Graph = Plot.Shapes.AddVectorPlotGraph("C:\Program Files\Golden Software\Grapher\Samples\bar chart orientations.dat",1,2,3,4)

 

'Set the vector plot to the VectorPlot object

Set VectorPlot = Graph.Plots.Item(1)

 

End Sub