Auto3DBubblePlot Object

The Auto3DBubblePlot object contains the 3D XYZ bubble plot properties.

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

Properties

BubbleLegend

BubbleMax

BubbleMin

BubbleXRot

BubbleYRot

ColorCol

DrawMethod

FillColor

FillOpacity

Gradient

GradDetail

Lighting

LineColor

LineCount

LineOpacity

RadiusRange

RadiusRangeMax

RadiusRangeMin

ShowBubbleLegend

SizeCol

Method

LoadColorMap

Example

This script shows how to access the Auto3DBubblePlot object.

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 XYZBubbleGraph as an object

 Dim XYZBubbleGraph As Object

 

'Creates a graph and assigns it to the

'variable named "XYZBubbleGraph"

 Set XYZBubbleGraph = Shapes.Add3DBubblePlotGraph(GrapherApp.Path+ _

 "\samples\bubble.dat")

 

'Declare XYZBubblePlot as an object

 Dim XYZBubblePlot As Object

 

'Set XYZBubblePlot to the first line plot on the XYZBubbleGraph graph

 Set XYZBubblePlot = XYZBubbleGraph.Plots.Item(1)

End Sub