The VectorPlotSlice option changes the slice being displayed in a given direction for the VectorPlot. The OptionValue is any integer number between 0 and the number of nodes in that direction. Use this option with VectorPlotOrientation set to 0, 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(“VectorPlotSlice”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the VectorPlot slice number.
CommandApi.Construct("ModifyModule")
CommandApi.Option ("Module", "VectorPlot")
CommandApi.Option ("VectorPlotSlice ", "3")
CommandApi.Do()
Used by: VectorPlot module
See Also