The VectorPlotColormap option changes the color map for VectorPlot. The OptionValue is a colormap name. This option is available when VectorPlotColorMethod is set to 1 or 2.
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(“VectorPlotColormap”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the color map to Rainbow.
CommandApi.Construct("ModifyModule")
CommandApi.Option ("Module", "VectorPlot")
CommandApi.Option ("VectorPlotColormap", "Rainbow")
CommandApi.Do()
Used by: VectorPlot module
See Also