AddVectorPlotGraph Method

The AddVectorPlotGraph method creates a new 2D vector plot. Returns an AutoGraph object.

Syntax

object.AddVectorPlotGraph( worksheet, xCol, yCol, aCol, mCol, id )

Parameter Type Description
worksheet String required, data's full path and file name
xCol Variant optional, default = 1 (column A)
yCol Variant optional, default = 2 (column B)
aCol Variant optional, default = 3 (column C)
mCol Variant optional, default = 4 (column D)
id Variant optional, graph name

 

Example

This example shows how to create a vector graph.

Shapes.AddVectorPlotGraph(GrapherApp.Path + "\samples\bar chart orientations.dat")

 

Used by: AutoShapes collection

See Also

AutoVectorPlot

AddVectorPlot