Previous: Introduction to the Color Table Editor Next: Using the New Color Table Table of contents Frames User guide
Unidata IDV Workshop for version 3.0u2 > Accessing and Displaying Data > Color tables

3.4.1 Creating a New Color Table
In this section we will create a color table to use within the IDV. This example color table is intended to represent a comfort range of temperatures.
  1. Open up the Color Table Editor from the Tools->Color Table Editor menu if it is not already open.
  2. Select the default color table if it is not already displayed. Show popup
  3. Rename this color table by selecting the File->Save As... menu and entering the name "Comfort".
  4. You should now have the same looking color table but with a new name displayed. We will create a new category, "Workshop" for this color table. More on categories Show popup
    • Click in the Category box and type "Workshop" and press return.
    • Now save this new color table by selecting the File->Save menu item.
    • Verify that you indeed have a new category by selecting the Color Tables menu.
    • You should see:

      Note: The label is "Comfort (local)" The "(local)" denotes that this color table is one that you have created, not a system provided color table.
  5. Now, note the Range values 0.0 - 100.0. We are going to set these to an example range for temperature in Celsius.
    • Type in -45 in the first box and press return.
    • Type in 45 in the second box and press return.
    • You should see the new range values displayed below the color box.
  6. Add breakpoints at the 0 value (freezing), 15 (comfortable), and 25 (hot).
    • Right click on the color bar to bring up the Color Bar Menu:

    • Select Add Breakpoint->Here
    • You should see a color bar with a new breakpoint in the middle:

    • Click and drag the breakpoint to the 0 value. If you cannot get to exactly 0 then use either the right/left arrow keys or right mouse click on the breakpoint and select the Change Breakpoint menu item and enter the desired value.
    • An alternative method would be to add a breakpoint at a particular value is to select the Add Breakpoint->At Data Point menu item and enter the value 0.
    • Repeat the above steps for the values 15 and 25.
    • Your color bar should look like:

  7. Now, let's come up with an interesting color scheme.
    • Click on the Fill Edit Mode button.
    • Select the center breakpoint (i.e., the "0" value point) by clicking on it.
    • Set the color under this break point to white by using the color chooser.
    • Right click on the center breakpoint and select the Set Colors->Interpolate Left menu item.
    • How the rest of the Comfort color table is colored is an exercise left to the reader.
  8. Once you are done you should save this color table by selecting the File->Save menu item.

 


Previous: Introduction to the Color Table Editor Next: Using the New Color Table Table of contents Frames User guide
Unidata IDV Workshop for version 3.0u2 > Accessing and Displaying Data > Color tables