colsph

Author: Mike Connolly

colsph reads and writes a sphere cluster file, adding a color (label) table and sphere labels. The color is determined by evaluating either a Delphi map or a force-field grid at the sphere center, and comparing that value to the ranges specified in a user-defined range file, which defines ranges for a series of colors. The program prompts for the information it needs:

The range file is the only one that needs explanation. Its format is as follows:

color_name range_min range_max

The spacing between the values does not matter. The color_name can be up to 30 characters in length. The range_min and range_max must be real numbers, and specify the lower and upper ends of the range respectively. There may be up to 100 colors and 200 range statements.

UC Regents 1998
Top / Up / Previous / Next