<?xml version="1.0" encoding="ISO-8859-1"?>

<ze_color name="color">
    <!-- Create a color object.
    If the object will not be re-used, omit the name attribute.
    
    Methods include:
    -->

    <clear>all</clear>
        <!-- Clears data it contains -->
    
    <append>r, g, b, a, r, g, b, a ...
         r, g, b, a...
    </append>
        <!-- Adds per vertex colors.
        
        Color components of red (r), green (g), blue (b), and alpha (a)
        should be numbers between 0 and 1.
        
        Data can be in multiple lines and a line can include
        mutiple datasets of colors.
        
        But a dataset should have r, g, b, and a.
        -->
        
    <make>xyorz, name1, name2</make>
        <!-- Make colors. The first parameter is either x or y or z;
        the second must be the name of a vertex object; and the third
        must be the name of a colorbar object. The function find a color
        from the color bar based on the x, y, or z value of each vertex
        in name1 and add it to the color object.
        -->
    
    <readtext r="ir" g="ig" b="ib" a="ia" skip="n">filename, dataset</readtext>
        <!-- Imports color data from the dataset in the ASCII file.

        A line starts with % indicates dataset name and characters
        after %  will be treated as the dataset identifier.
        
        Color data must follow the identifier immediately.
        
        Any line started with # or %  after the indentifier
        indicates the end of the dataset.
        
        By default the first four columns of data will be treated
        as red, green, blue, and alpha. This order and column numbers
        can be set with r, g, b, and a attributes.
        
        If the skip attribute is set, n numbers of records will be
        skipped after accepted a record.
        -->
        
    <dll append="true" params="p1, p2, ...">filename, function</dll>
        <!-- Calls the the function in the dynamic link library.
        
        Refer to the reference web page for details:
            http://www.zegraph.com/xmlscript/referencel.html
        -->
        
    <print>device</print>
        <!-- If the device is stdout, print color data to the standard
        output device: otherwise tries to open the device as a file and
        print data to the file.
        -->

    <copyfrom>name</copyfrom>
        <!-- Copy color data from the named object -->
        
</ze_color>