Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Return type of range in the active standard color tablecolor table specified by the command spe ctb set map | tex | color_table_name.  0: data range, 1: absolute range, 2: relative range

The range values are in [gvar rangelo] and [gvar rangehi] . The argument map is the standard color table while tex is the seismic color table.

Example: spe ctb set Sea ; set type [gvar ctable range] ; puts "Type $type  Range: [gvar rangelo] [gvar rangehi] "

ctable numcolors

Return number of colors in the active standard specified color table.

Examples

The following example shows the use of gvar command.

...