Axes

 

The Axes module is created with the CreateModule command by setting the Type to Axes. The properties of the Axes are altered with the ModifyModule command. This is similar to the Network | Graphics Output | Axes command.

 

Module Type

Axes

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “Axes”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “Axes”)

object.Option(“Option_Name”, “OptionValue”)

object.Do() or object.DoOnce()

 

Option Name

AxesAntialias

AxesAutoScale

AxesFont

AxesGridColor

AxesGridLineWidth

AxesShowArrows

AxesShowGrid

AxesThickness

AxesLabelHeight

AxesTitleHeight

AxesXAxisBeg

AxesXAxisColor

AxesXAxisCross1

AxesXAxisCross2

AxesXAxisEnd

AxesXAxisFlipLabelsX

AxesXAxisFlipLabelsY

AxesXAxisLabelAngle

AxesXAxisLabelBeg

AxesXAxisLabelEnd

AxesXAxisLabelFormatNumDigits

AxesXAxisLabelFormatPrefix

AxesXAxisLabelFormatPostfix

AxesXAxisLabelFormatType

AxesXAxisLabelInc

AxesXAxisPlane

AxesXAxisShow

AxesXAxisShowLabels

AxesXAxisTicksPerLabel

AxesXAxisTitle

AxesYAxisBeg

AxesYAxisColor

AxesYAxisCross1

AxesYAxisCross2

AxesYAxisEnd

AxesYAxisFlipLabelsX

AxesYAxisFlipLabelsY

AxesYAxisLabelAngle

AxesYAxisLabelBeg

AxesYAxisLabelEnd

AxesYAxisLabelFormatNumDigits

AxesYAxisLabelFormatPrefix

AxesYAxisLabelFormatPostfix

AxesYAxisLabelFormatType

AxesYAxisLabelInc

AxesYAxisPlane

AxesYAxisShow

AxesYAxisShowLabels

AxesYAxisTicksPerLabel

AxesYAxisTitle

AxesZAxisBeg

AxesZAxisColor

AxesZAxisCross1

AxesZAxisCross2

AxesZAxisEnd

AxesZAxisFlipLabelsX

AxesZAxisFlipLabelsY

AxesZAxisLabelAngle

AxesZAxisLabelBeg

AxesZAxisLabelEnd

AxesZAxisLabelFormatNumDigits

AxesZAxisLabelFormatPrefix

AxesZAxisLabelFormatPostfix

AxesZAxisLabelFormatType

AxesZAxisLabelInc

AxesZAxisPlane

AxesZAxisShow

AxesZAxisShowLabels

AxesZAxisTicksPerLabel

AxesZAxisTitle

 

Example

This example shows how to open an existing Voxler file, add axes, and alter the X Axis color.

 

Sub Main

 'Declares VoxlerApp as an object

  Dim VoxlerApp As Object

 

 'Creates an instance of the Voxler application object

 'and assigns it to the variable named "VoxlerApp"

  Set VoxlerApp = CreateObject("Voxler.Application")

 

 'Make Voxler visible

  VoxlerApp.Visible = True

 

 'Access CommandApi

  Set CommandApi = VoxlerApp.CommandApi

 

 'Open an existing file

  CommandApi.Construct ("Open")

  CommandApi.Option ("Path", VoxlerApp.Path+"\Samples\Gold (ScatterPlot).voxb")

  CommandApi.DoOnce()

 

 'Add a clip plane

  CommandApi.Construct ("CreateModule")

  CommandApi.Option ("Type", "Axes")

  CommandApi.Option ("AutoConnect", "True")

  CommandApi.Option ("SourceModule", "ScatterPlot")

  CommandApi.Do()

 

 'Show X Axis

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Axes")

  CommandApi.Option ("AxesXAxisShow", "True")

  CommandApi.Do()

 

 'Change the X Axis color

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Axes")

  CommandApi.Option ("AxesXAxisColor", "light green")

  CommandApi.Do()

 

End Sub

 

Used by: CommandApi object, CreateModule, ModifyModule

 

 

See Also

Automation Model

Automation Example - Axes