ContourLegendNumLabels Option

 

The ContourLegendNumLabels option changes the number of labels for the legend for the Contours 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”, “Contours”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “Contours”)

object.Option(“ContourLegendNumLabels”, “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", "Contours")

  CommandApi.Option ("ContourLegendNumLabels", "7")

  CommandApi.Do()

 

Used by: Contour

 

 

See Also

Automation Model