The ScatterPlotDensity option changes the density of points being plotted in a scatter plot. The OptionValue is a number between 0 and 7 defined by:
'0 = 100%, 1 = 50%, 2 = 33%, 3 = 25%, 4 = 20%, 5 = 10%, 6 = 5%, 7 = 1%
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(“ScatterPlotColorDensity”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the density of points to 50%.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "ScatterPlot")
CommandApi.Option ("ScatterPlotDensity", "3")
CommandApi.Do()
Used by: ScatterPlot module
See Also