StreamLinesColormap Option

 

The StreamLinesColormap option changes the color map for streamlines. The OptionValue is a colormap name. This option is available when StreamLinesColorMethod is set to 1.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “StreamLines”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

object.Option(“StreamLinesColormap”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the color map to Rainbow.

 

  CommandApi.Construct("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model