The VectorPlotLegendNumLabels option changes the number of labels for the legend for the VectorPlot module. The OptionValue is a integer between 0 and 100, indicating the number of labels.
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(“VectorPlotLegendNumLabels”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the number of labels to display for the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "VectorPlot")
CommandApi.Option ("VectorPlotLegendNumLabels", "7")
CommandApi.Do()
Used by: VectorPlot module
See Also