<?xml version="1.0" encoding="ISO-8859-1"?>

<ze_colorbar name="colorbar">
    <!-- Create a color bar object.
    If the object will not be re-used, omit the name attribute.
    
    Methods include:
    -->

    <append>v, r, g, b, v, r, g, b ...
         v, r, g, b...
    </append>
        <!-- Adds values and their colors.

        Color components of red (r), green (g), and blue (b)
        should be numbers between 0 and 1.
        
        Data can be in multiple lines and a line can include
        mutiple datasets of value and color.
        
        But a dataset should have v, r, g, and b.
        -->

    <color>r, g, b</color>
        <!-- Set the color for drawing line and text. -->

    <font>name</font>
        <!-- Assigns the named font object to it. -->
    
    <fontsize>v</fontsize>
        <!-- Sets font size. <font> must be called beforehand. -->

    <interpolation>n</interpolation>
        <!-- Linearly interpolates values and colors n times. -->
    
    <numberformat scientific="true">n</numberformat>
        <!-- Sets the number of digits
        and optionally sepcifies scientific format for numbers by
        the attribute.
        -->
    
    <gradient>true</gradient>
        <!-- Or <gradient>false</gradient> to specify gradient
        or discrete color bar.
        -->

    <labels>start step count</labels>
        <!-- Specify how to label the color bar, i.e.,
        the start value, the step, and the number of labels.
        -->

</ze_colorbar>