AutoLinePlot Object

The AutoLinePlot object controls the settings for line/scatter plots, 2D step plots, and polar plots. Line/scatter plots, step plots, and polar plots do not use all of the methods and properties of the AutoLinePlot object. When a method or property is not used by all plot types, the plots used are listed in parentheses.

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

Properties

ApplyColorColToSymLine

Area (Line/Scatter)

ArrowScale

ColorMethod

ColorScale

EndArrow

ErrorBars (Line/Scatter)

ErrorBarsBehindPlot (Line/Scatter)

Fill (Line/Scatter and Step)

FillCutoffAuto (Line/Scatter and Step)

FillCutoffValue (Line/Scatter and Step)

FillDirection (Line/Scatter and Step)

Fits

Gradient

HorzLines (Step)

Labels

Line

NegArea (Line/Scatter)

RepeatSymbols

ShowColorScale

ShowSymbolTableLegend

SmoothLine

SmoothTension

StartArrow

Symbol

SymbolAngle

SymbolCol

SymbolFreq

SymFillColorCol

SymbolTableLegendObj

UseSymbolTable

Xcol

Ycol

Methods

AddFit

LoadSymbolTable

SetPlotType

Example

This example shows how to create a line plot.

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

 

 'Declares Plot as an object

  Dim Plot As Object

 

 'Creates a plot document in Grapher and

 'assigns it to the variable named "Plot"

  Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

 'Declares Shapes as an object

  Dim Shapes As Object

 

 'Assigns the AutoShapes collection to

 'the variable named "Shapes"

  Set Shapes = Plot.Shapes

 

 'Declares LineGraph as an object

  Dim LineGraph As Object

 

 'Creates a graph and assigns it to the

 'variable named "LineGraph"

  Set LineGraph = Shapes.AddLinePlotGraph(GrapherApp.Path+\samples\bar chart orientations.dat)

 

 'Declare LinePlot as an object

  Dim LinePlot As Object

 

 'Set LinePlot to the first line plot on

 'the LineGraph graph

  Set LinePlot = LineGraph.Plots.Item(1)

 

End Sub