From 0a225983eb0267812b25886bb6d8537e94e4969b Mon Sep 17 00:00:00 2001
From: "(no author)" <(no author)@8a9318a1-56ba-4d59-b755-99d26321be01>
Date: Mon, 29 Apr 2013 16:28:51 +0000
Subject: [PATCH] new constants to support new plots and colors

git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@214 8a9318a1-56ba-4d59-b755-99d26321be01
---
 pyglance/glance/gui_constants.py | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

diff --git a/pyglance/glance/gui_constants.py b/pyglance/glance/gui_constants.py
index c741936..ac1fdfa 100644
--- a/pyglance/glance/gui_constants.py
+++ b/pyglance/glance/gui_constants.py
@@ -18,20 +18,24 @@ It not only stores values that are intended to be unchangable and globally avail
 """
 
 # constants for the possible image types
-ORIGINAL_A = "Original A Data"
-ORIGINAL_B = "Original B Data"
-ABS_DIFF   = "Abs. Difference"
-RAW_DIFF   = "Raw Difference"
-HISTOGRAM  = "Histogram"
-MISMATCH   = "Mismatch Areas"
-SCATTER    = "Scatter Plot"
-HEX_PLOT   = "Hex Plot"
+ORIGINAL_A  = "Original A Data"
+ORIGINAL_B  = "Original B Data"
+ABS_DIFF    = "Abs. Difference"
+RAW_DIFF    = "Raw Difference"
+HISTOGRAM   = "Comparison Histogram"
+HISTOGRAM_A = "Historgram of A Data"
+HISTOGRAM_B = "Historgram of B Data"
+MISMATCH    = "Mismatch Areas"
+SCATTER     = "Scatter Plot"
+HEX_PLOT    = "Hex Plot"
 
 # a list of all the image types, for convenience
 IMAGE_TYPES = [ORIGINAL_A,
                ORIGINAL_B,
                ABS_DIFF,
                RAW_DIFF,
+               HISTOGRAM_A,
+               HISTOGRAM_B,
                HISTOGRAM,
                MISMATCH,
                SCATTER,
@@ -66,9 +70,13 @@ DEFAULT_NUM_BINS = 50
 
 # colormaps that are available in the GUI
 # TODO, this needs to be upkept when the list of colormaps in the figure manager changes
-CM_RAINBOW     = "Rainbow"
-CM_GRAY        = "Grayscale"
-COLORMAP_NAMES = [CM_RAINBOW, CM_GRAY]
+CM_RAINBOW       = "Rainbow"
+CM_RAINBOW_REV   = "Rainbow, Reverse"
+CM_RAINBOW_DESAT = "Rainbow, Desaturated"
+CM_GRAY          = "Grayscale"
+CM_GRAY_REV      = "Grayscale, Reverse"
+CM_SPECTRAL      = "Rainbow2"
+COLORMAP_NAMES   = [CM_RAINBOW, CM_RAINBOW_REV, CM_RAINBOW_DESAT, CM_GRAY, CM_GRAY_REV, CM_SPECTRAL]
 
 NO_DATA_MESSAGE = "Requested data was not available or did not exist."
 UNKNOWN_DATA_FORM = "An ununsupported plot format was requested. Aborting attempt to plot data."
-- 
GitLab