The VectorPlotColorMethod option changes the color method for the VectorPlot. The OptionValue is 0, 1, or 2. 0 sets the option to a Fixed color. 1 sets the option to a color map. 2 sets the option to Scalar.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “VectorPlot”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “VectorPlot”)
object.Option(“VectorPlotColorMethod”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the Color Method to Fixed.
CommandApi.Construct("ModifyModule")
CommandApi.Option ("Module", "VectorPlot")
CommandApi.Option ("VectorPlotColorMethod","0")
CommandApi.Do()
Used by: VectorPlot module
See Also