ScatterPlotColorMethod Option

 

The ScatterPlotColorMethod option changes the Color Method to either Fixed or By Data. The OptionValue is 0 or 1. 0 specifies fixed symbol color, 1 specifies to use By Data.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example 1

This example changes the color method to fixed.

 

  CommandApi.Construct ("ModifyModule")

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

   CommandApi.Option ("ScatterPlotColorMethod", "0")

  CommandApi.Do()

 

Example 2

This example changes the color method to By Data.

 

  CommandApi.Construct ("ModifyModule")

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

   CommandApi.Option ("ScatterPlotColorMethod", "1")

  CommandApi.Do()

 

Used by: ScatterPlot module

 

 

See Also

Automation Model