ContourColormap Option

 

The ContourColormap option changes the Colormap that a contour map is using. The OptionValue is the color map name.  

 

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(“ContourColormap”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the color map for the contours.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Contours")

  CommandApi.Option ("ContourColormap", "Rainbow")

  CommandApi.Do()

 

Used by: Contours

 

 

See Also

Automation Model