Spectrum object

The Spectrum object defines a color spectrum for the contour display.

This page discusses:

Access

import visualization
session.spectrums[name]

Spectrum(...)

This method creates a Spectrum object and places it in the spectrums repository.

Path

session.Spectrum

Required arguments

name

A string name for the spectrum.

colors

A sequence of strings indicating the colors of the spectrum.

Optional arguments

None.

Return value

A Spectrum object.

Exceptions

None.

Members

The Spectrum object has no members.