Index: /trunk/SophyaPI/PI/lut.cc
===================================================================
--- /trunk/SophyaPI/PI/lut.cc	(revision 1128)
+++ /trunk/SophyaPI/PI/lut.cc	(revision 1129)
@@ -18,5 +18,5 @@
 int nlev;
 
-bornes=NULL;  
+bornes=NULL;
 nlev = ncol-2;
 if (nlev < 1)  nlev = 1;
@@ -43,5 +43,7 @@
 {
 
-if ( (typ != kLutType_Lin) && (typ != kLutType_Log) )  typ = kLutType_Lin;
+if(  (typ != kLutType_Lin)  && (typ != kLutType_Log)
+  && (typ != kLutType_Sqrt) && (typ != kLutType_Square)
+  )  typ = kLutType_Lin;
 type = typ;
 if (max <= min)  max = min+1.;
@@ -62,4 +64,14 @@
       for(i=0; i<nLevel; i++)
         bornes[i] = min+(double)exp((double)i*dlx);
+      break;
+    case kLutType_Sqrt :
+      dlx = sqrt(max-min) / (double)nLevel;
+      for(i=0; i<nLevel; i++)
+        bornes[i] = min+((double)i*dlx)*((double)i*dlx);
+      break;
+    case kLutType_Square :
+      dlx = (max-min)*(max-min) / (double)nLevel;
+      for(i=0; i<nLevel; i++)
+        bornes[i] = min+(double)sqrt((double)i*dlx);
       break;
     default:
Index: /trunk/SophyaPI/PI/lut.h
===================================================================
--- /trunk/SophyaPI/PI/lut.h	(revision 1128)
+++ /trunk/SophyaPI/PI/lut.h	(revision 1129)
@@ -13,5 +13,5 @@
 
 // Type de lut possibles (Seul Lineaire implemente 05/95
-enum {kLutType_Lin=1, kLutType_Log=2};
+enum {kLutType_Lin=1, kLutType_Log=2, kLutType_Sqrt=3, kLutType_Square=4};
 
 class LUT 
Index: /trunk/SophyaPI/PI/picmap.cc
===================================================================
--- /trunk/SophyaPI/PI/picmap.cc	(revision 1128)
+++ /trunk/SophyaPI/PI/picmap.cc	(revision 1129)
@@ -22,12 +22,12 @@
 //--
 
-#define  MXMAPIDS   16
+#define  MXMAPIDS   22
 static   int    MapNCols[MXMAPIDS] = {256, 256, 256, 256, 256, 256, 256, 256, 256, 256,
-                                      256, 256, 256, 256, 256, 256 };
+                            256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256 };
 
 // Tables de couleurs :
 // 5 Standard PI , 32  couleurs
 // 4 Standard PI , 128 couleurs
-// 6 MIDAS , 256 couleurs
+// 12 MIDAS , 256 couleurs
 // 1 Standard PI 16 couleurs
 
@@ -36,5 +36,7 @@
                       "Grey128","InvGrey128","ColRJ128","ColBR128",
                       "MIDAS_Pastel","MIDAS_Heat","MIDAS_Rainbow3", 
-                      "MIDAS_BlueRed","MIDAS_BlueWhite","MIDAS_RedWhite",
+                      "MIDAS_BlueRed","MIDAS_BlueWhite","MIDAS_Stairs8",
+                      "MIDAS_Stairs9","MIDAS_StairCase","MIDAS_Color",
+                      "MIDAS_ManyCol","MIDAS_Idl14","MIDAS_Idl15",
                       "Rainbow16"};
 
@@ -43,5 +45,7 @@
                       CMAP_GREY128, CMAP_GREYINV128, CMAP_COLRJ128, CMAP_COLBR128,  
                       CMAP_MIDAS_Pastel, CMAP_MIDAS_Heat, CMAP_MIDAS_Rainbow3, 
-                      CMAP_MIDAS_BlueRed, CMAP_MIDAS_BlueWhite, CMAP_MIDAS_RedWhite, 
+                      CMAP_MIDAS_BlueRed, CMAP_MIDAS_BlueWhite, CMAP_MIDAS_Stairs8, 
+                      CMAP_MIDAS_Stairs9, CMAP_MIDAS_StairCase, CMAP_MIDAS_Color, 
+                      CMAP_MIDAS_ManyCol, CMAP_MIDAS_Idl14, CMAP_MIDAS_Idl15, 
                       CMAP_COL16 } ;
 
@@ -90,5 +94,5 @@
 //|	CMAP_COLBR128   :  128 couleurs du bleu au rouge (arcenciel)
 //|	CMAP_COL16      :  16 Couleurs arcenciel
-//|	CMAP_OTHER      :  Table non standard
+//|	CMAP_OTHER      :  Table non standard (Midas,Idl, ...)
 //	Toutes les tables de couleurs standard possèdent 256 cellules de couleurs,
 //	contenant 16 ou 32 ou 128 couleurs distinctes.
@@ -403,110 +407,108 @@
       break;
 
-  case CMAP_MIDAS_Pastel :   // 
-  case CMAP_MIDAS_Heat :      // A faire  pour CMAP_MIDAS_Pastel CMAP_MIDAS_Heat 
-  case CMAP_MIDAS_Rainbow3 :  //    A faire  pour Heat Rainbow3 BlueRed BlueWhite
-  case CMAP_MIDAS_BlueRed :   //    BlueRed -> idl11
-  case CMAP_MIDAS_BlueWhite : //    BlueWhite -> blulut.lutlis
-  case CMAP_MIDAS_RedWhite :  // rouge-rose-blanc je ne sais quelle table MIDAS ??    
+  case CMAP_MIDAS_Pastel :   // pastel.lutlis
    {
-   float rgb_r[256] = {
-0, 0, 0.01961, 0.0549, 0.08627, 0.1098, 0.13725, 0.15686, 0.18039, 0.2, 
-0.21569, 0.23529, 0.25098, 0.26275, 0.28235, 0.29412, 0.30588, 0.31765, 
-0.33333, 0.34118, 0.35294, 0.36078, 0.37255, 0.38431, 0.39216, 0.4, 
-0.41176, 0.41961, 0.43137, 0.43529, 0.44314, 0.45098, 0.45882, 0.46667, 
-0.47059, 0.48235, 0.48627, 0.49412, 0.50196, 0.50588, 0.5098, 0.51765, 
-0.52157, 0.53333, 0.53725, 0.54118, 0.54902, 0.55294, 0.55686, 0.56078, 
-0.56471, 0.57255, 0.58039, 0.58431, 0.58824, 0.59216, 0.59608, 0.6, 0.60392,
-0.60784, 0.61176, 0.61569, 0.61961, 0.62745, 0.63137, 0.63529, 0.63922, 
-0.64314, 0.64706, 0.65098, 0.6549, 0.6549, 0.65882, 0.66275, 0.66667 ,
-0.67059, 0.67843, 0.67843, 0.68235, 0.68627, 0.6902, 0.6902, 0.69412, 
-0.69804, 0.70196, 0.70196, 0.70588, 0.7098, 0.71373, 0.71373, 0.71765, 
-0.72157, 0.72157, 0.72941, 0.73333, 0.73333, 0.73725, 0.74118, 0.74118, 
-0.7451, 0.7451, 0.74902, 0.75294, 0.75294, 0.75686, 0.76078, 0.76078, 
-0.76471, 0.76471, 0.76863, 0.76863, 0.77255, 0.78039, 0.78039, 0.78431, 
-0.78431, 0.78824, 0.78824, 0.79216, 0.79216, 0.79608, 0.79608, 0.8, 0.8, 
-0.80392, 0.80392, 0.80784, 0.80784, 0.81176, 0.81176, 0.81569, 0.81569, 
-0.81961, 0.81961, 0.82745, 0.82745, 0.83137, 0.83137, 0.83529, 0.83529, 
-0.83922, 0.83922, 0.83922, 0.84314, 0.84314, 0.84706, 0.84706, 0.85098, 
-0.85098, 0.8549, 0.8549, 0.8549, 0.85882, 0.85882, 0.86275, 0.86275, 
-0.86275, 0.86667, 0.86667, 0.87059, 0.87059, 0.87059, 0.87843, 0.87843, 
-0.88235, 0.88235, 0.88235, 0.88627, 0.88627, 0.8902, 0.8902, 0.8902, 0.89412, 
-0.89412, 0.89412, 0.89804, 0.89804, 0.89804, 0.90196, 0.90196, 0.90588, 
-0.90588, 0.90588, 0.9098, 0.9098, 0.9098, 0.91373, 0.91373, 0.91373, 
-0.91765, 0.91765, 0.91765, 0.92157, 0.92157, 0.92157, 0.92941, 0.92941, 
-0.92941, 0.93333, 0.93333, 0.93333, 0.93725, 0.93725, 0.93725, 0.94118, 
-0.94118, 0.94118, 0.94118, 0.9451, 0.9451, 0.9451, 0.94902, 0.94902, 
-0.94902, 0.95294, 0.95294, 0.95294, 0.95686, 0.95686, 0.95686, 0.95686, 
-0.96078, 0.96078, 0.96078, 0.96471, 0.96471, 0.96471, 0.96471, 0.96863, 
-0.96863, 0.96863, 0.97255, 0.97255, 0.97255, 0.97255, 0.98039, 0.98039, 
-0.98039, 0.98039, 0.98431, 0.98431, 0.98431, 0.98824, 0.98824, 0.98824, 
-0.98824, 0.99216, 0.99216, 0.99216, 0.99216, 0.99608, 0.99608, 0.99608, 
-0.99608, 1, 1 };
-    float rgb_g[256] = {
-0, 0, 0, 0, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00784, 
-0.00784, 0.00784, 0.00784, 0.01176, 0.01176, 0.01176, 0.01176, 0.01176, 
-0.01569, 0.01569, 0.01569, 0.01569, 0.01961, 0.01961, 0.01961, 0.01961, 
-0.02353, 0.02353, 0.02353, 0.02745, 0.02745, 0.02745, 0.02745, 0.03137, 
-0.03137, 0.03137, 0.03529, 0.03529, 0.03529, 0.03529, 0.04314, 0.04314, 
-0.04314, 0.04706, 0.04706, 0.04706, 0.05098, 0.05098, 0.05098, 0.0549, 
-0.0549, 0.0549, 0.05882, 0.05882, 0.05882, 0.06275, 0.06275, 0.06275, 0.06667, 
-0.06667, 0.06667, 0.07059, 0.07059, 0.07451, 0.07451, 0.07451, 0.07843, 
-0.07843, 0.08235, 0.08235, 0.08235, 0.08627, 0.08627, 0.0902, 0.0902, 
-0.0902, 0.09412, 0.09412, 0.09804, 0.09804, 0.10196, 0.10196, 0.10588, 
-0.10588, 0.1098, 0.1098, 0.1098, 0.11765, 0.11765, 0.12157, 0.12157, 
-0.12549, 0.12549, 0.12941, 0.12941, 0.13333, 0.13725, 0.13725, 0.14118, 
-0.14118, 0.1451, 0.1451, 0.14902, 0.14902, 0.15294, 0.15686, 0.15686, 
-0.16078, 0.16078, 0.16471, 0.16863, 0.16863, 0.17255, 0.17255, 0.17647, 
-0.18039, 0.18039, 0.18431, 0.18824, 0.18824, 0.19608, 0.2, 0.2, 0.20392, 
-0.20784, 0.20784, 0.21176, 0.21569, 0.21961, 0.21961, 0.22353, 0.22745, 
-0.23137, 0.23137, 0.23529, 0.23922, 0.24314, 0.24314, 0.24706, 0.25098, 
-0.2549, 0.25882, 0.26275, 0.26275, 0.27059, 0.27451, 0.27843, 0.28235, 
-0.28627, 0.2902, 0.29412, 0.29804, 0.29804, 0.30196, 0.30588, 0.3098, 
-0.31373, 0.31765, 0.32157, 0.32549, 0.33333, 0.33725, 0.34118, 0.3451, 
-0.34902, 0.35294, 0.35686, 0.36078, 0.36471, 0.37255, 0.37647, 0.38039, 
-0.38431, 0.38824, 0.39216, 0.4, 0.40392, 0.40784, 0.41176, 0.41961, 0.42353, 
-0.42745, 0.43529, 0.43922, 0.44314, 0.45098, 0.4549, 0.45882, 0.46667, 
-0.47059, 0.47843, 0.48235, 0.4902, 0.49412, 0.50196, 0.50588, 0.51373, 
-0.51765, 0.52549, 0.52941, 0.53725, 0.54118, 0.54902, 0.55686, 0.56078, 
-0.56863, 0.57647, 0.58039, 0.58824, 0.59608, 0.6, 0.60784, 0.61569, 
-0.62353, 0.63137, 0.63529, 0.64314, 0.65098, 0.65882, 0.66667, 0.67451, 
-0.68235, 0.6902, 0.69804, 0.70588, 0.71373, 0.72157, 0.72941, 0.73725, 0.7451, 
-0.75294, 0.76078, 0.77255, 0.78039, 0.78824, 0.79608, 0.80392, 0.81569, 
-0.82353, 0.83137, 0.84314, 0.85098, 0.86275, 0.87059, 0.87843, 0.8902 ,
-0.89804, 0.9098, 0.91765, 0.92941, 0.94118, 0.94902, 0.96078, 0.97255, 
-0.98039, 0.99216 };
-    float rgb_b[256] = {
-0, 0, 0, 0, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00784, 
-0.00784, 0.00784, 0.00784, 0.01176, 0.01176, 0.01176, 0.01176, 0.01176, 
-0.01569, 0.01569, 0.01569, 0.01569, 0.01961, 0.01961, 0.01961, 0.01961, 
-0.02353, 0.02353, 0.02353, 0.02745, 0.02745, 0.02745, 0.02745, 0.03137, 
-0.03137, 0.03137, 0.03529, 0.03529, 0.03529, 0.03529, 0.04314, 0.04314, 
-0.04314, 0.04706, 0.04706, 0.04706, 0.05098, 0.05098, 0.05098, 0.0549, 
-0.0549, 0.0549, 0.05882, 0.05882, 0.05882, 0.06275, 0.06275, 0.06275, 0.06667, 
-0.06667, 0.06667, 0.07059, 0.07059, 0.07451, 0.07451, 0.07451, 0.07843, 
-0.07843, 0.08235, 0.08235, 0.08235, 0.08627, 0.08627, 0.0902, 0.0902, 
-0.0902, 0.09412, 0.09412, 0.09804, 0.09804, 0.10196, 0.10196, 0.10588, 
-0.10588, 0.1098, 0.1098, 0.1098, 0.11765, 0.11765, 0.12157, 0.12157, 
-0.12549, 0.12549, 0.12941, 0.12941, 0.13333, 0.13725, 0.13725, 0.14118, 
-0.14118, 0.1451, 0.1451, 0.14902, 0.14902, 0.15294, 0.15686, 0.15686, 
-0.16078, 0.16078, 0.16471, 0.16863, 0.16863, 0.17255, 0.17255, 0.17647, 
-0.18039, 0.18039, 0.18431, 0.18824, 0.18824, 0.19608, 0.2, 0.2, 0.20392, 
-0.20784, 0.20784, 0.21176, 0.21569, 0.21961, 0.21961, 0.22353, 0.22745, 
-0.23137, 0.23137, 0.23529, 0.23922, 0.24314, 0.24314, 0.24706, 0.25098, 
-0.2549, 0.25882, 0.26275, 0.26275, 0.27059, 0.27451, 0.27843, 0.28235, 
-0.28627, 0.2902, 0.29412, 0.29804, 0.29804, 0.30196, 0.30588, 0.3098, 
-0.31373, 0.31765, 0.32157, 0.32549, 0.33333, 0.33725, 0.34118, 0.3451, 
-0.34902, 0.35294, 0.35686, 0.36078, 0.36471, 0.37255, 0.37647, 0.38039, 
-0.38431, 0.38824, 0.39216, 0.4, 0.40392, 0.40784, 0.41176, 0.41961, 0.42353, 
-0.42745, 0.43529, 0.43922, 0.44314, 0.45098, 0.4549, 0.45882, 0.46667, 
-0.47059, 0.47843, 0.48235, 0.4902, 0.49412, 0.50196, 0.50588, 0.51373, 
-0.51765, 0.52549, 0.52941, 0.53725, 0.54118, 0.54902, 0.55686, 0.56078, 
-0.56863, 0.57647, 0.58039, 0.58824, 0.59608, 0.6, 0.60784, 0.61569, 0.62353, 
-0.63137, 0.63529, 0.64314, 0.65098, 0.65882, 0.66667, 0.67451, 0.68235, 
-0.6902, 0.69804, 0.70588, 0.71373, 0.72157, 0.72941, 0.73725, 0.7451, 
-0.75294, 0.76078, 0.77255, 0.78039, 0.78824, 0.79608, 0.80392, 0.81569, 
-0.82353, 0.83137, 0.84314, 0.85098, 0.86275, 0.87059, 0.87843, 0.8902, 
-0.89804, 0.9098, 0.91765, 0.92941, 0.94118, 0.94902, 0.96078, 0.97255, 
-0.98039, 0.99216 };
+float rgb_r[256] = {
+0.00000, 0.00000, 0.01961, 0.05490, 0.08627, 0.10980, 0.13725, 0.15686, 
+0.18039, 0.20000, 0.21569, 0.23529, 0.25098, 0.26275, 0.28235, 0.29412, 
+0.30588, 0.31765, 0.33333, 0.34118, 0.35294, 0.36078, 0.37255, 0.38431, 
+0.39216, 0.40000, 0.41176, 0.41961, 0.43137, 0.43529, 0.44314, 0.45098, 
+0.45882, 0.46667, 0.47059, 0.48235, 0.48627, 0.49412, 0.50196, 0.50588, 
+0.50980, 0.51765, 0.52157, 0.53333, 0.53725, 0.54118, 0.54902, 0.55294, 
+0.55686, 0.56078, 0.56471, 0.57255, 0.58039, 0.58431, 0.58824, 0.59216, 
+0.59608, 0.60000, 0.60392, 0.60784, 0.61176, 0.61569, 0.61961, 0.62745, 
+0.63137, 0.63529, 0.63922, 0.64314, 0.64706, 0.65098, 0.65490, 0.65490, 
+0.65882, 0.66275, 0.66667, 0.67059, 0.67843, 0.67843, 0.68235, 0.68627, 
+0.69020, 0.69020, 0.69412, 0.69804, 0.70196, 0.70196, 0.70588, 0.70980, 
+0.71373, 0.71373, 0.71765, 0.72157, 0.72157, 0.72941, 0.73333, 0.73333, 
+0.73725, 0.74118, 0.74118, 0.74510, 0.74510, 0.74902, 0.75294, 0.75294, 
+0.75686, 0.76078, 0.76078, 0.76471, 0.76471, 0.76863, 0.76863, 0.77255, 
+0.78039, 0.78039, 0.78431, 0.78431, 0.78824, 0.78824, 0.79216, 0.79216, 
+0.79608, 0.79608, 0.80000, 0.80000, 0.80392, 0.80392, 0.80784, 0.80784, 
+0.81176, 0.81176, 0.81569, 0.81569, 0.81961, 0.81961, 0.82745, 0.82745, 
+0.83137, 0.83137, 0.83529, 0.83529, 0.83922, 0.83922, 0.83922, 0.84314, 
+0.84314, 0.84706, 0.84706, 0.85098, 0.85098, 0.85490, 0.85490, 0.85490, 
+0.85882, 0.85882, 0.86275, 0.86275, 0.86275, 0.86667, 0.86667, 0.87059, 
+0.87059, 0.87059, 0.87843, 0.87843, 0.88235, 0.88235, 0.88235, 0.88627, 
+0.88627, 0.89020, 0.89020, 0.89020, 0.89412, 0.89412, 0.89412, 0.89804, 
+0.89804, 0.89804, 0.90196, 0.90196, 0.90588, 0.90588, 0.90588, 0.90980, 
+0.90980, 0.90980, 0.91373, 0.91373, 0.91373, 0.91765, 0.91765, 0.91765, 
+0.92157, 0.92157, 0.92157, 0.92941, 0.92941, 0.92941, 0.93333, 0.93333, 
+0.93333, 0.93725, 0.93725, 0.93725, 0.94118, 0.94118, 0.94118, 0.94118, 
+0.94510, 0.94510, 0.94510, 0.94902, 0.94902, 0.94902, 0.95294, 0.95294, 
+0.95294, 0.95686, 0.95686, 0.95686, 0.95686, 0.96078, 0.96078, 0.96078, 
+0.96471, 0.96471, 0.96471, 0.96471, 0.96863, 0.96863, 0.96863, 0.97255, 
+0.97255, 0.97255, 0.97255, 0.98039, 0.98039, 0.98039, 0.98039, 0.98431, 
+0.98431, 0.98431, 0.98824, 0.98824, 0.98824, 0.98824, 0.99216, 0.99216, 
+0.99216, 0.99216, 0.99608, 0.99608, 0.99608, 0.99608, 1.00000, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00784, 0.00784, 0.00784, 0.00784, 0.01176, 0.01176, 0.01176, 
+0.01176, 0.01176, 0.01569, 0.01569, 0.01569, 0.01569, 0.01961, 0.01961, 
+0.01961, 0.01961, 0.02353, 0.02353, 0.02353, 0.02745, 0.02745, 0.02745, 
+0.02745, 0.03137, 0.03137, 0.03137, 0.03529, 0.03529, 0.03529, 0.03529, 
+0.04314, 0.04314, 0.04314, 0.04706, 0.04706, 0.04706, 0.05098, 0.05098, 
+0.05098, 0.05490, 0.05490, 0.05490, 0.05882, 0.05882, 0.05882, 0.06275, 
+0.06275, 0.06275, 0.06667, 0.06667, 0.06667, 0.07059, 0.07059, 0.07451, 
+0.07451, 0.07451, 0.07843, 0.07843, 0.08235, 0.08235, 0.08235, 0.08627, 
+0.08627, 0.09020, 0.09020, 0.09020, 0.09412, 0.09412, 0.09804, 0.09804, 
+0.10196, 0.10196, 0.10588, 0.10588, 0.10980, 0.10980, 0.10980, 0.11765, 
+0.11765, 0.12157, 0.12157, 0.12549, 0.12549, 0.12941, 0.12941, 0.13333, 
+0.13725, 0.13725, 0.14118, 0.14118, 0.14510, 0.14510, 0.14902, 0.14902, 
+0.15294, 0.15686, 0.15686, 0.16078, 0.16078, 0.16471, 0.16863, 0.16863, 
+0.17255, 0.17255, 0.17647, 0.18039, 0.18039, 0.18431, 0.18824, 0.18824, 
+0.19608, 0.20000, 0.20000, 0.20392, 0.20784, 0.20784, 0.21176, 0.21569, 
+0.21961, 0.21961, 0.22353, 0.22745, 0.23137, 0.23137, 0.23529, 0.23922, 
+0.24314, 0.24314, 0.24706, 0.25098, 0.25490, 0.25882, 0.26275, 0.26275, 
+0.27059, 0.27451, 0.27843, 0.28235, 0.28627, 0.29020, 0.29412, 0.29804, 
+0.29804, 0.30196, 0.30588, 0.30980, 0.31373, 0.31765, 0.32157, 0.32549, 
+0.33333, 0.33725, 0.34118, 0.34510, 0.34902, 0.35294, 0.35686, 0.36078, 
+0.36471, 0.37255, 0.37647, 0.38039, 0.38431, 0.38824, 0.39216, 0.40000, 
+0.40392, 0.40784, 0.41176, 0.41961, 0.42353, 0.42745, 0.43529, 0.43922, 
+0.44314, 0.45098, 0.45490, 0.45882, 0.46667, 0.47059, 0.47843, 0.48235, 
+0.49020, 0.49412, 0.50196, 0.50588, 0.51373, 0.51765, 0.52549, 0.52941, 
+0.53725, 0.54118, 0.54902, 0.55686, 0.56078, 0.56863, 0.57647, 0.58039, 
+0.58824, 0.59608, 0.60000, 0.60784, 0.61569, 0.62353, 0.63137, 0.63529, 
+0.64314, 0.65098, 0.65882, 0.66667, 0.67451, 0.68235, 0.69020, 0.69804, 
+0.70588, 0.71373, 0.72157, 0.72941, 0.73725, 0.74510, 0.75294, 0.76078, 
+0.77255, 0.78039, 0.78824, 0.79608, 0.80392, 0.81569, 0.82353, 0.83137, 
+0.84314, 0.85098, 0.86275, 0.87059, 0.87843, 0.89020, 0.89804, 0.90980, 
+0.91765, 0.92941, 0.94118, 0.94902, 0.96078, 0.97255, 0.98039, 0.99216
+};
+float rgb_b[256] = {
+0.00000, 1.00000, 0.98039, 0.94510, 0.91373, 0.89020, 0.86275, 0.84314, 
+0.81961, 0.80000, 0.78431, 0.76471, 0.74902, 0.73725, 0.71765, 0.70588, 
+0.69412, 0.68235, 0.66667, 0.65882, 0.64706, 0.63922, 0.62745, 0.61569, 
+0.60784, 0.60000, 0.58824, 0.58039, 0.56863, 0.56471, 0.55686, 0.54902, 
+0.54118, 0.53333, 0.52941, 0.51765, 0.51373, 0.50588, 0.49804, 0.49412, 
+0.49020, 0.48235, 0.47843, 0.46667, 0.46275, 0.45882, 0.45098, 0.44706, 
+0.44314, 0.43922, 0.43529, 0.42745, 0.41961, 0.41569, 0.41176, 0.40784, 
+0.40392, 0.40000, 0.39608, 0.39216, 0.38824, 0.38431, 0.38039, 0.37255, 
+0.36863, 0.36471, 0.36078, 0.35686, 0.35294, 0.34902, 0.34510, 0.34510, 
+0.34118, 0.33725, 0.33333, 0.32941, 0.32157, 0.32157, 0.31765, 0.31373, 
+0.30980, 0.30980, 0.30588, 0.30196, 0.29804, 0.29804, 0.29412, 0.29020, 
+0.28627, 0.28627, 0.28235, 0.27843, 0.27843, 0.27059, 0.26667, 0.26667, 
+0.26275, 0.25882, 0.25882, 0.25490, 0.25490, 0.25098, 0.24706, 0.24706, 
+0.24314, 0.23922, 0.23922, 0.23529, 0.23529, 0.23137, 0.23137, 0.22745, 
+0.21961, 0.21961, 0.21569, 0.21569, 0.21176, 0.21176, 0.20784, 0.20784, 
+0.20392, 0.20392, 0.20000, 0.20000, 0.19608, 0.19608, 0.19216, 0.19216, 
+0.18824, 0.18824, 0.18431, 0.18431, 0.18039, 0.18039, 0.17255, 0.17255, 
+0.16863, 0.16863, 0.16471, 0.16471, 0.16078, 0.16078, 0.16078, 0.15686, 
+0.15686, 0.15294, 0.15294, 0.14902, 0.14902, 0.14510, 0.14510, 0.14510, 
+0.14118, 0.14118, 0.13725, 0.13725, 0.13725, 0.13333, 0.13333, 0.12941, 
+0.12941, 0.12941, 0.12157, 0.12157, 0.11765, 0.11765, 0.11765, 0.11373, 
+0.11373, 0.10980, 0.10980, 0.10980, 0.10588, 0.10588, 0.10588, 0.10196, 
+0.10196, 0.10196, 0.09804, 0.09804, 0.09412, 0.09412, 0.09412, 0.09020, 
+0.09020, 0.09020, 0.08627, 0.08627, 0.08627, 0.08235, 0.08235, 0.08235, 
+0.07843, 0.07843, 0.07843, 0.07059, 0.07059, 0.07059, 0.06667, 0.06667, 
+0.06667, 0.06275, 0.06275, 0.06275, 0.05882, 0.05882, 0.05882, 0.05882, 
+0.05490, 0.05490, 0.05490, 0.05098, 0.05098, 0.05098, 0.04706, 0.04706, 
+0.04706, 0.04314, 0.04314, 0.04314, 0.04314, 0.03922, 0.03922, 0.03922, 
+0.03529, 0.03529, 0.03529, 0.03529, 0.03137, 0.03137, 0.03137, 0.02745, 
+0.02745, 0.02745, 0.02745, 0.01961, 0.01961, 0.01961, 0.01961, 0.01569, 
+0.01569, 0.01569, 0.01176, 0.01176, 0.01176, 0.01176, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00392, 0.00392, 0.00392, 0.00392, 0.00000, 0.00000
+};
     for(i=0; i<mNCol; i++) {
       mycol.red = (rgb_r[i]*65535.); 
@@ -517,4 +519,1236 @@
    }
     break;
+  case CMAP_MIDAS_Heat :      //  heat.lutlis 
+   {
+float rgb_r[256] = {
+0.00000, 0.01176, 0.02353, 0.03529, 0.04706, 0.05882, 0.07059, 0.08235, 
+0.09412, 0.10588, 0.11765, 0.12941, 0.14118, 0.15294, 0.16471, 0.17647, 
+0.18824, 0.20000, 0.21176, 0.22353, 0.23529, 0.24706, 0.25882, 0.27059, 
+0.28235, 0.29412, 0.30588, 0.31765, 0.32941, 0.34118, 0.35294, 0.36471, 
+0.37647, 0.38824, 0.40000, 0.41176, 0.42353, 0.43529, 0.44706, 0.45882, 
+0.47059, 0.48235, 0.49412, 0.50588, 0.51765, 0.52941, 0.54118, 0.55294, 
+0.56471, 0.57647, 0.58824, 0.60000, 0.61176, 0.62353, 0.63529, 0.64706, 
+0.65882, 0.67059, 0.68235, 0.69412, 0.70588, 0.71765, 0.72941, 0.74118, 
+0.75294, 0.76471, 0.77647, 0.78824, 0.80000, 0.81176, 0.82353, 0.83529, 
+0.84706, 0.85882, 0.87059, 0.88235, 0.89412, 0.90588, 0.91765, 0.92941, 
+0.94118, 0.95294, 0.96471, 0.97647, 0.98824, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 0.02745, 
+0.03137, 0.03529, 0.03922, 0.04314, 0.04706, 0.05098, 0.05490, 0.05882, 
+0.06275, 0.06667, 0.07059, 0.07451, 0.07843, 0.08235, 0.08627, 0.09020, 
+0.09412, 0.09804, 0.10196, 0.10588, 0.10980, 0.11373, 0.11765, 0.12157, 
+0.12549, 0.12941, 0.13333, 0.13725, 0.14118, 0.14510, 0.14902, 0.15294, 
+0.15686, 0.16078, 0.16471, 0.16863, 0.17255, 0.17647, 0.18039, 0.18431, 
+0.18824, 0.19216, 0.19608, 0.20000, 0.20392, 0.20784, 0.21176, 0.21569, 
+0.21961, 0.22353, 0.22745, 0.23137, 0.23529, 0.23922, 0.24314, 0.24706, 
+0.25098, 0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 0.27843, 
+0.28235, 0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 0.30980, 
+0.31373, 0.31765, 0.32157, 0.32549, 0.32941, 0.33333, 0.33725, 0.34118, 
+0.34510, 0.34902, 0.35294, 0.35686, 0.36078, 0.36471, 0.36863, 0.37255, 
+0.37647, 0.38039, 0.38431, 0.38824, 0.39216, 0.39608, 0.40000, 0.40392, 
+0.40784, 0.41176, 0.41569, 0.41961, 0.42353, 0.42745, 0.43137, 0.43529, 
+0.43922, 0.44314, 0.44706, 0.45098, 0.45490, 0.45882, 0.46275, 0.46667, 
+0.47059, 0.47451, 0.47843, 0.48235, 0.48627, 0.49020, 0.49412, 0.49804, 
+0.50196, 0.50588, 0.50980, 0.51373, 0.51765, 0.52157, 0.52549, 0.52941, 
+0.53333, 0.53725, 0.54118, 0.54510, 0.54902, 0.55294, 0.55686, 0.56078, 
+0.56471, 0.56863, 0.57255, 0.57647, 0.58039, 0.58431, 0.58824, 0.59216, 
+0.59608, 0.60000, 0.60392, 0.60784, 0.61176, 0.61569, 0.61961, 0.62353, 
+0.62745, 0.63137, 0.63529, 0.63922, 0.64314, 0.64706, 0.65098, 0.65490, 
+0.65882, 0.66275, 0.66667, 0.67059, 0.67451, 0.67843, 0.68235, 0.68627, 
+0.69020, 0.69412, 0.69804, 0.70196, 0.70588, 0.70980, 0.71373, 0.71765, 
+0.72157, 0.72549, 0.72941, 0.73333, 0.73725, 0.74118, 0.74510, 0.74902, 
+0.75294, 0.75686, 0.76078, 0.76471, 0.76863, 0.77255, 0.77647, 0.78039, 
+0.78431, 0.78824, 0.79216, 0.79608, 0.80000, 0.80392, 0.80784, 0.81176, 
+0.81569, 0.81961, 0.82353, 0.82745, 0.83137, 0.83529, 0.83922, 0.84314, 
+0.84706, 0.85098, 0.85490, 0.85882, 0.86275, 0.86667, 0.87059, 0.87451, 
+0.87843, 0.88235, 0.88627, 0.89020, 0.89412, 0.89804, 0.90196, 0.90588, 
+0.90980, 0.91373, 0.91765, 0.92157, 0.92549, 0.92941, 0.93333, 0.93725, 
+0.94118, 0.94510, 0.94902, 0.95294, 0.95686, 0.96078, 0.96471, 0.96863, 
+0.97255, 0.97647, 0.98039, 0.98431, 0.98824, 0.99216, 0.99608, 1.00000
+};
+float rgb_b[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.01176, 0.02353, 
+0.03529, 0.04706, 0.05882, 0.07059, 0.08235, 0.09412, 0.10588, 0.11765, 
+0.12941, 0.14118, 0.15294, 0.16471, 0.17647, 0.18824, 0.20000, 0.21176, 
+0.22353, 0.23529, 0.24706, 0.25882, 0.27059, 0.28235, 0.29412, 0.30588, 
+0.31765, 0.32941, 0.34118, 0.35294, 0.36471, 0.37647, 0.38824, 0.40000, 
+0.41176, 0.42353, 0.43529, 0.44706, 0.45882, 0.47059, 0.48235, 0.49412, 
+0.50588, 0.51765, 0.52941, 0.54118, 0.55294, 0.56471, 0.57647, 0.58824, 
+0.60000, 0.61176, 0.62353, 0.63529, 0.64706, 0.65882, 0.67059, 0.68235, 
+0.69412, 0.70588, 0.71765, 0.72941, 0.74118, 0.75294, 0.76471, 0.77647, 
+0.78824, 0.80000, 0.81176, 0.82353, 0.83529, 0.84706, 0.85882, 0.87059, 
+0.88235, 0.89412, 0.90588, 0.91765, 0.92941, 0.94118, 0.95294, 0.96471, 
+0.97647, 0.98824, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_Rainbow3 :  //  rainbow3.lutlis
+   {
+float rgb_r[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.04706, 0.09412, 0.14118, 0.18824, 0.23529, 0.28235, 0.32941, 
+0.37647, 0.42353, 0.47059, 0.51765, 0.56471, 0.61176, 0.65882, 0.70588, 
+0.72549, 0.74510, 0.76471, 0.78431, 0.80392, 0.82353, 0.84314, 0.86275, 
+0.88235, 0.90196, 0.92157, 0.94118, 0.96078, 0.98039, 1.00000, 0.99608, 
+0.99608, 0.99608, 0.99608, 0.99608, 0.99216, 0.99216, 0.99216, 0.99216, 
+0.99216, 0.98824, 0.98824, 0.98824, 0.98824, 0.98824, 0.98824, 0.98824, 
+0.98824, 0.98824, 0.99216, 0.99216, 0.99216, 0.99216, 0.99216, 0.99608, 
+0.99608, 0.99608, 0.99608, 0.99608, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.03137, 0.06275, 
+0.09412, 0.12549, 0.15686, 0.18824, 0.21961, 0.25490, 0.28627, 0.31765, 
+0.34902, 0.38039, 0.41176, 0.44314, 0.47843, 0.49804, 0.51765, 0.53725, 
+0.55686, 0.58039, 0.60000, 0.61961, 0.63922, 0.65882, 0.68235, 0.70196, 
+0.72157, 0.74118, 0.76078, 0.78431, 0.79608, 0.81176, 0.82745, 0.83922, 
+0.85490, 0.87059, 0.88235, 0.89804, 0.91373, 0.92549, 0.94118, 0.95686, 
+0.96863, 0.98431, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.98039, 
+0.96078, 0.94510, 0.92549, 0.90588, 0.89020, 0.87059, 0.85098, 0.83529, 
+0.81569, 0.79608, 0.78039, 0.76078, 0.74118, 0.72549, 0.70588, 0.69020, 
+0.67451, 0.65490, 0.63922, 0.62353, 0.60392, 0.58824, 0.57255, 0.55294, 
+0.53725, 0.52157, 0.50196, 0.48627, 0.47059, 0.43922, 0.40784, 0.37647, 
+0.34510, 0.31373, 0.28235, 0.25098, 0.21569, 0.18431, 0.15294, 0.12157, 
+0.09020, 0.05882, 0.02745, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.03529, 
+0.07059, 0.10588, 0.14118, 0.18039, 0.21569, 0.25098, 0.28627, 0.32549, 
+0.36078, 0.39608, 0.43137, 0.47059, 0.48627, 0.50588, 0.52157, 0.54118, 
+0.56078, 0.57647, 0.59608, 0.61176, 0.63137, 0.65098, 0.66667, 0.68627, 
+0.70588, 0.74510, 0.78824, 0.83137, 0.87059, 0.91373, 0.95686, 1.00000
+};
+float rgb_b[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.03922, 0.07843, 0.11765, 
+0.15686, 0.20000, 0.23922, 0.27843, 0.31765, 0.35686, 0.40000, 0.43922, 
+0.47843, 0.51765, 0.55686, 0.60000, 0.63922, 0.67843, 0.71765, 0.75686, 
+0.80000, 0.83922, 0.87843, 0.91765, 0.95686, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 0.98039, 0.96078, 0.94118, 0.92157, 0.90196, 
+0.88235, 0.86275, 0.84314, 0.82353, 0.80392, 0.78431, 0.76471, 0.74510, 
+0.72549, 0.70588, 0.65882, 0.61176, 0.56471, 0.51765, 0.47059, 0.42353, 
+0.37647, 0.32549, 0.27843, 0.23137, 0.18431, 0.13725, 0.09020, 0.04314, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.04706, 0.09412, 0.14118, 0.18824, 0.23529, 
+0.28235, 0.32941, 0.37647, 0.42353, 0.47059, 0.51765, 0.56471, 0.61176, 
+0.65882, 0.70588, 0.72549, 0.74902, 0.77255, 0.79608, 0.81569, 0.83922, 
+0.86275, 0.88627, 0.90588, 0.92941, 0.95294, 0.97647, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_BlueRed :   //   idl11.lutlis
+   {
+float rgb_r[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.01569, 0.03137, 0.04706, 0.06275, 0.07843, 0.09412, 0.10980, 
+0.12549, 0.14118, 0.15686, 0.17255, 0.18824, 0.20392, 0.21961, 0.23529, 
+0.25098, 0.26667, 0.28235, 0.29804, 0.31373, 0.33333, 0.34902, 0.36471, 
+0.38039, 0.39608, 0.41176, 0.42745, 0.44314, 0.45882, 0.47451, 0.49020, 
+0.50588, 0.52157, 0.53725, 0.55294, 0.56863, 0.58431, 0.60000, 0.61569, 
+0.63137, 0.64706, 0.66667, 0.68235, 0.69804, 0.71373, 0.72941, 0.74510, 
+0.76078, 0.77647, 0.79216, 0.80784, 0.82353, 0.83922, 0.85490, 0.87059, 
+0.88627, 0.90196, 0.91765, 0.93333, 0.94902, 0.96471, 0.98039, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.00392, 0.00784, 0.01176, 0.01569, 0.03137, 0.04706, 0.06275, 
+0.08235, 0.09804, 0.11373, 0.12941, 0.14902, 0.16471, 0.18039, 0.19608, 
+0.21569, 0.23137, 0.24706, 0.26275, 0.28235, 0.29804, 0.31373, 0.32941, 
+0.34902, 0.36471, 0.38039, 0.39608, 0.41569, 0.43137, 0.44706, 0.46275, 
+0.48235, 0.49804, 0.51373, 0.52941, 0.54902, 0.56471, 0.58039, 0.59608, 
+0.61569, 0.63137, 0.64706, 0.66275, 0.68235, 0.69804, 0.71373, 0.72941, 
+0.74902, 0.76471, 0.78039, 0.79608, 0.81569, 0.83137, 0.84706, 0.86275, 
+0.88235, 0.89804, 0.91373, 0.92941, 0.94902, 0.96471, 0.98039, 1.00000, 
+1.00000, 0.98431, 0.96863, 0.95294, 0.93725, 0.92157, 0.90588, 0.89020, 
+0.87451, 0.85882, 0.84314, 0.82745, 0.81176, 0.79608, 0.78039, 0.76471, 
+0.74902, 0.73333, 0.71765, 0.70196, 0.68627, 0.66667, 0.65098, 0.63529, 
+0.61961, 0.60392, 0.58824, 0.57255, 0.55686, 0.54118, 0.52549, 0.50980, 
+0.49412, 0.47843, 0.46275, 0.44706, 0.43137, 0.41569, 0.40000, 0.38431, 
+0.36863, 0.35294, 0.33333, 0.31765, 0.30196, 0.28627, 0.27059, 0.25490, 
+0.23922, 0.22353, 0.20784, 0.19216, 0.17647, 0.16078, 0.14510, 0.12941, 
+0.11373, 0.09804, 0.08235, 0.06667, 0.05098, 0.03529, 0.01961, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000
+};
+float rgb_b[256] = {
+0.00000, 0.00392, 0.00784, 0.01176, 0.01569, 0.03137, 0.04706, 0.06275, 
+0.08235, 0.09804, 0.11373, 0.12941, 0.14902, 0.16471, 0.18039, 0.19608, 
+0.21569, 0.23137, 0.24706, 0.26275, 0.28235, 0.29804, 0.31373, 0.32941, 
+0.34902, 0.36471, 0.38039, 0.39608, 0.41569, 0.43137, 0.44706, 0.46275, 
+0.48235, 0.49804, 0.51373, 0.52941, 0.54902, 0.56471, 0.58039, 0.59608, 
+0.61569, 0.63137, 0.64706, 0.66275, 0.68235, 0.69804, 0.71373, 0.72941, 
+0.74902, 0.76471, 0.78039, 0.79608, 0.81569, 0.83137, 0.84706, 0.86275, 
+0.88235, 0.89804, 0.91373, 0.92941, 0.94902, 0.96471, 0.98039, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 0.98431, 0.96863, 0.95294, 0.93725, 0.92157, 0.90588, 0.89020, 
+0.87451, 0.85490, 0.83922, 0.82353, 0.80784, 0.79216, 0.77647, 0.76078, 
+0.74510, 0.72941, 0.70980, 0.69412, 0.67843, 0.66275, 0.64706, 0.63137, 
+0.61569, 0.60000, 0.58431, 0.56471, 0.54902, 0.53333, 0.51765, 0.50196, 
+0.48627, 0.47059, 0.45490, 0.43922, 0.41961, 0.40392, 0.38824, 0.37255, 
+0.35686, 0.34118, 0.32549, 0.30980, 0.29412, 0.27451, 0.25882, 0.24314, 
+0.22745, 0.21176, 0.19608, 0.18039, 0.16471, 0.14902, 0.12941, 0.11373, 
+0.09804, 0.08235, 0.06667, 0.05098, 0.03529, 0.01961, 0.00000, 0.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_BlueWhite : //    blulut.lutlis
+   {
+float rgb_r[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00001, 0.00001, 0.00001, 
+0.00002, 0.00002, 0.00002, 0.00003, 0.00004, 0.00005, 0.00006, 0.00007, 
+0.00008, 0.00009, 0.00011, 0.00013, 0.00015, 0.00017, 0.00019, 0.00022, 
+0.00025, 0.00028, 0.00032, 0.00035, 0.00040, 0.00044, 0.00049, 0.00055, 
+0.00061, 0.00067, 0.00074, 0.00081, 0.00089, 0.00097, 0.00106, 0.00115, 
+0.00126, 0.00136, 0.00148, 0.00160, 0.00173, 0.00187, 0.00201, 0.00216, 
+0.00233, 0.00250, 0.00268, 0.00287, 0.00307, 0.00327, 0.00349, 0.00373, 
+0.00397, 0.00422, 0.00449, 0.00477, 0.00506, 0.00536, 0.00568, 0.00601, 
+0.00636, 0.00672, 0.00709, 0.00748, 0.00789, 0.00831, 0.00875, 0.00921, 
+0.00969, 0.01018, 0.01069, 0.01122, 0.01177, 0.01235, 0.01294, 0.01355, 
+0.01418, 0.01484, 0.01552, 0.01622, 0.01694, 0.01769, 0.01847, 0.01926, 
+0.02009, 0.02094, 0.02181, 0.02272, 0.02365, 0.02461, 0.02560, 0.02662, 
+0.02767, 0.02875, 0.02986, 0.03100, 0.03218, 0.03338, 0.03463, 0.03590, 
+0.03721, 0.03856, 0.03994, 0.04136, 0.04282, 0.04432, 0.04585, 0.04743, 
+0.04904, 0.05070, 0.05239, 0.05413, 0.05591, 0.05774, 0.05961, 0.06153, 
+0.06349, 0.06549, 0.06755, 0.06965, 0.07180, 0.07400, 0.07625, 0.07856, 
+0.08091, 0.08331, 0.08577, 0.08829, 0.09086, 0.09348, 0.09616, 0.09890, 
+0.10169, 0.10455, 0.10746, 0.11044, 0.11347, 0.11657, 0.11973, 0.12296, 
+0.12624, 0.12960, 0.13302, 0.13651, 0.14007, 0.14369, 0.14739, 0.15116, 
+0.15500, 0.15891, 0.16289, 0.16695, 0.17109, 0.17530, 0.17959, 0.18395, 
+0.18840, 0.19292, 0.19753, 0.20222, 0.20699, 0.21185, 0.21679, 0.22182, 
+0.22693, 0.23213, 0.23742, 0.24280, 0.24827, 0.25384, 0.25949, 0.26524, 
+0.27109, 0.27703, 0.28307, 0.28920, 0.29544, 0.30178, 0.30821, 0.31476, 
+0.32140, 0.32815, 0.33500, 0.34196, 0.34903, 0.35621, 0.36350, 0.37090, 
+0.37841, 0.38603, 0.39377, 0.40163, 0.40960, 0.41769, 0.42590, 0.43423, 
+0.44268, 0.45126, 0.45996, 0.46878, 0.47773, 0.48681, 0.49601, 0.50535, 
+0.51482, 0.52442, 0.53415, 0.54402, 0.55403, 0.56417, 0.57445, 0.58487, 
+0.59543, 0.60613, 0.61698, 0.62798, 0.63911, 0.65040, 0.66184, 0.67342, 
+0.68516, 0.69705, 0.70909, 0.72129, 0.73365, 0.74616, 0.75883, 0.77167, 
+0.78466, 0.79782, 0.81115, 0.82464, 0.83830, 0.85213, 0.86612, 0.88029, 
+0.89464, 0.90915, 0.92385, 0.93872, 0.95377, 0.96899, 0.98441, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00001, 0.00001, 0.00001, 
+0.00002, 0.00002, 0.00002, 0.00003, 0.00004, 0.00005, 0.00006, 0.00007, 
+0.00008, 0.00009, 0.00011, 0.00013, 0.00015, 0.00017, 0.00019, 0.00022, 
+0.00025, 0.00028, 0.00032, 0.00035, 0.00040, 0.00044, 0.00049, 0.00055, 
+0.00061, 0.00067, 0.00074, 0.00081, 0.00089, 0.00097, 0.00106, 0.00115, 
+0.00126, 0.00136, 0.00148, 0.00160, 0.00173, 0.00187, 0.00201, 0.00216, 
+0.00233, 0.00250, 0.00268, 0.00287, 0.00307, 0.00327, 0.00349, 0.00373, 
+0.00397, 0.00422, 0.00449, 0.00477, 0.00506, 0.00536, 0.00568, 0.00601, 
+0.00636, 0.00672, 0.00709, 0.00748, 0.00789, 0.00831, 0.00875, 0.00921, 
+0.00969, 0.01018, 0.01069, 0.01122, 0.01177, 0.01235, 0.01294, 0.01355, 
+0.01418, 0.01484, 0.01552, 0.01622, 0.01694, 0.01769, 0.01847, 0.01926, 
+0.02009, 0.02094, 0.02181, 0.02272, 0.02365, 0.02461, 0.02560, 0.02662, 
+0.02767, 0.02875, 0.02986, 0.03100, 0.03218, 0.03338, 0.03463, 0.03590, 
+0.03721, 0.03856, 0.03994, 0.04136, 0.04282, 0.04432, 0.04585, 0.04743, 
+0.04904, 0.05070, 0.05239, 0.05413, 0.05591, 0.05774, 0.05961, 0.06153, 
+0.06349, 0.06549, 0.06755, 0.06965, 0.07180, 0.07400, 0.07625, 0.07856, 
+0.08091, 0.08331, 0.08577, 0.08829, 0.09086, 0.09348, 0.09616, 0.09890, 
+0.10169, 0.10455, 0.10746, 0.11044, 0.11347, 0.11657, 0.11973, 0.12296, 
+0.12624, 0.12960, 0.13302, 0.13651, 0.14007, 0.14369, 0.14739, 0.15116, 
+0.15500, 0.15891, 0.16289, 0.16695, 0.17109, 0.17530, 0.17959, 0.18395, 
+0.18840, 0.19292, 0.19753, 0.20222, 0.20699, 0.21185, 0.21679, 0.22182, 
+0.22693, 0.23213, 0.23742, 0.24280, 0.24827, 0.25384, 0.25949, 0.26524, 
+0.27109, 0.27703, 0.28307, 0.28920, 0.29544, 0.30178, 0.30821, 0.31476, 
+0.32140, 0.32815, 0.33500, 0.34196, 0.34903, 0.35621, 0.36350, 0.37090, 
+0.37841, 0.38603, 0.39377, 0.40163, 0.40960, 0.41769, 0.42590, 0.43423, 
+0.44268, 0.45126, 0.45996, 0.46878, 0.47773, 0.48681, 0.49601, 0.50535, 
+0.51482, 0.52442, 0.53415, 0.54402, 0.55403, 0.56417, 0.57445, 0.58487, 
+0.59543, 0.60613, 0.61698, 0.62798, 0.63911, 0.65040, 0.66184, 0.67342, 
+0.68516, 0.69705, 0.70909, 0.72129, 0.73365, 0.74616, 0.75883, 0.77167, 
+0.78466, 0.79782, 0.81115, 0.82464, 0.83830, 0.85213, 0.86612, 0.88029, 
+0.89464, 0.90915, 0.92385, 0.93872, 0.95377, 0.96899, 0.98441, 1.00000
+};
+float rgb_b[256] = {
+0.00000, 0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 0.02745, 
+0.03137, 0.03529, 0.03922, 0.04314, 0.04706, 0.05098, 0.05490, 0.05882, 
+0.06275, 0.06667, 0.07059, 0.07451, 0.07843, 0.08235, 0.08627, 0.09020, 
+0.09412, 0.09804, 0.10196, 0.10588, 0.10980, 0.11373, 0.11765, 0.12157, 
+0.12549, 0.12941, 0.13333, 0.13725, 0.14118, 0.14510, 0.14902, 0.15294, 
+0.15686, 0.16078, 0.16471, 0.16863, 0.17255, 0.17647, 0.18039, 0.18431, 
+0.18824, 0.19216, 0.19608, 0.20000, 0.20392, 0.20784, 0.21176, 0.21569, 
+0.21961, 0.22353, 0.22745, 0.23137, 0.23529, 0.23922, 0.24314, 0.24706, 
+0.25098, 0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 0.27843, 
+0.28235, 0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 0.30980, 
+0.31373, 0.31765, 0.32157, 0.32549, 0.32941, 0.33333, 0.33725, 0.34118, 
+0.34510, 0.34902, 0.35294, 0.35686, 0.36078, 0.36471, 0.36863, 0.37255, 
+0.37647, 0.38039, 0.38431, 0.38824, 0.39216, 0.39608, 0.40000, 0.40392, 
+0.40784, 0.41176, 0.41569, 0.41961, 0.42353, 0.42745, 0.43137, 0.43529, 
+0.43922, 0.44314, 0.44706, 0.45098, 0.45490, 0.45882, 0.46275, 0.46667, 
+0.47059, 0.47451, 0.47843, 0.48235, 0.48627, 0.49020, 0.49412, 0.49804, 
+0.50196, 0.50588, 0.50980, 0.51373, 0.51765, 0.52157, 0.52549, 0.52941, 
+0.53333, 0.53725, 0.54118, 0.54510, 0.54902, 0.55294, 0.55686, 0.56078, 
+0.56471, 0.56863, 0.57255, 0.57647, 0.58039, 0.58431, 0.58824, 0.59216, 
+0.59608, 0.60000, 0.60392, 0.60784, 0.61176, 0.61569, 0.61961, 0.62353, 
+0.62745, 0.63137, 0.63529, 0.63922, 0.64314, 0.64706, 0.65098, 0.65490, 
+0.65882, 0.66275, 0.66667, 0.67059, 0.67451, 0.67843, 0.68235, 0.68627, 
+0.69020, 0.69412, 0.69804, 0.70196, 0.70588, 0.70980, 0.71373, 0.71765, 
+0.72157, 0.72549, 0.72941, 0.73333, 0.73725, 0.74118, 0.74510, 0.74902, 
+0.75294, 0.75686, 0.76078, 0.76471, 0.76863, 0.77255, 0.77647, 0.78039, 
+0.78431, 0.78824, 0.79216, 0.79608, 0.80000, 0.80392, 0.80784, 0.81176, 
+0.81569, 0.81961, 0.82353, 0.82745, 0.83137, 0.83529, 0.83922, 0.84314, 
+0.84706, 0.85098, 0.85490, 0.85882, 0.86275, 0.86667, 0.87059, 0.87451, 
+0.87843, 0.88235, 0.88627, 0.89020, 0.89412, 0.89804, 0.90196, 0.90588, 
+0.90980, 0.91373, 0.91765, 0.92157, 0.92549, 0.92941, 0.93333, 0.93725, 
+0.94118, 0.94510, 0.94902, 0.95294, 0.95686, 0.96078, 0.96471, 0.96863, 
+0.97255, 0.97647, 0.98039, 0.98431, 0.98824, 0.99216, 0.99608, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_Stairs8 :  //  stairs8.lutlis
+   {
+float rgb_r[256] = {
+0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 
+0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 
+0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 
+0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 0.76471, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+float rgb_b[256] = {
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_Stairs9 :  //    stairs9.lutlis
+   {
+float rgb_r[256] = {
+0.00000, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 
+0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 
+0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 0.60784, 
+0.60784, 0.60784, 0.60784, 0.60784, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 
+0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 
+0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 
+0.92549, 0.92549, 0.92549, 0.92549, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000
+};
+float rgb_g[256] = {
+0.00000, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 
+0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 
+0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 0.65490, 
+0.65490, 0.65490, 0.65490, 0.65490, 0.56863, 0.56863, 0.56863, 0.56863, 
+0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 
+0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 
+0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 0.56863, 
+0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 
+0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 
+0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 0.96471, 
+0.96471, 0.96471, 0.96471, 0.96471, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 
+0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 
+0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 0.69412, 
+0.69412, 0.69412, 0.69412, 0.69412, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000
+};
+float rgb_b[256] = {
+0.00000, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 0.19608, 
+0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 
+0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 
+0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 0.47451, 
+0.47451, 0.47451, 0.47451, 0.47451, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_StairCase :  //    staircase.lutlis
+   {
+float rgb_r[256] = {
+0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 0.02745, 0.03137, 
+0.03529, 0.03922, 0.04314, 0.04706, 0.05098, 0.05490, 0.05882, 0.06275, 
+0.06667, 0.07059, 0.07451, 0.07843, 0.08235, 0.08627, 0.09020, 0.09412, 
+0.09804, 0.10196, 0.10588, 0.10980, 0.11373, 0.11765, 0.12157, 0.12549, 
+0.12941, 0.13333, 0.13725, 0.14118, 0.14510, 0.14902, 0.15294, 0.15686, 
+0.16078, 0.16471, 0.16863, 0.17255, 0.17647, 0.18039, 0.18431, 0.18824, 
+0.19216, 0.19608, 0.20000, 0.20392, 0.20784, 0.21176, 0.21569, 0.21961, 
+0.22353, 0.22745, 0.23137, 0.23529, 0.23922, 0.24314, 0.24706, 0.25098, 
+0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 0.27843, 0.28235, 
+0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 0.30980, 0.31373, 
+0.31765, 0.32157, 0.32549, 0.32941, 0.33333, 0.00392, 0.00784, 0.01176, 
+0.01569, 0.01961, 0.02353, 0.02745, 0.03137, 0.03529, 0.03922, 0.04314, 
+0.04706, 0.05098, 0.05490, 0.05882, 0.06275, 0.06667, 0.07059, 0.07451, 
+0.07843, 0.08235, 0.08627, 0.09020, 0.09412, 0.09804, 0.10196, 0.10588, 
+0.10980, 0.11373, 0.11765, 0.12157, 0.12549, 0.12941, 0.13333, 0.13725, 
+0.14118, 0.14510, 0.14902, 0.15294, 0.15686, 0.16078, 0.16471, 0.16863, 
+0.17255, 0.17647, 0.18039, 0.18431, 0.18824, 0.19216, 0.19608, 0.20000, 
+0.20392, 0.20784, 0.21176, 0.21569, 0.21961, 0.22353, 0.22745, 0.23137, 
+0.23529, 0.23922, 0.24314, 0.24706, 0.25098, 0.25490, 0.25882, 0.26275, 
+0.26667, 0.27059, 0.27451, 0.27843, 0.28235, 0.28627, 0.29020, 0.29412, 
+0.29804, 0.30196, 0.30588, 0.30980, 0.31373, 0.31765, 0.32157, 0.32549, 
+0.32941, 0.33333, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 
+0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 
+0.31373, 0.31373, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 
+0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 
+0.47059, 0.47059, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 
+0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 
+0.62745, 0.62745, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 
+0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 
+0.94118, 0.94118, 0.94902, 0.96078, 0.97255, 0.98431, 0.99216, 1.00000
+};
+float rgb_g[256] = {
+0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 0.02745, 0.03137, 
+0.03529, 0.03922, 0.04314, 0.04706, 0.05098, 0.05490, 0.05882, 0.06275, 
+0.06667, 0.07059, 0.07451, 0.07843, 0.08235, 0.08627, 0.09020, 0.09412, 
+0.09804, 0.10196, 0.10588, 0.10980, 0.11373, 0.11765, 0.12157, 0.12549, 
+0.12941, 0.13333, 0.13725, 0.14118, 0.14510, 0.14902, 0.15294, 0.15686, 
+0.16078, 0.16471, 0.16863, 0.17255, 0.17647, 0.18039, 0.18431, 0.18824, 
+0.19216, 0.19608, 0.20000, 0.20392, 0.20784, 0.21176, 0.21569, 0.21961, 
+0.22353, 0.22745, 0.23137, 0.23529, 0.23922, 0.24314, 0.24706, 0.25098, 
+0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 0.27843, 0.28235, 
+0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 0.30980, 0.31373, 
+0.31765, 0.32157, 0.32549, 0.32941, 0.33333, 0.31373, 0.31373, 0.31373, 
+0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 
+0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.47059, 0.47059, 0.47059, 
+0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 
+0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.62745, 0.62745, 0.62745, 
+0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 
+0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.94118, 0.94118, 0.94118, 
+0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 
+0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.95294, 0.96471, 0.97647, 
+0.98824, 1.00000, 0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 
+0.02745, 0.03137, 0.03529, 0.03922, 0.04314, 0.04706, 0.05098, 0.05490, 
+0.05882, 0.06275, 0.06667, 0.07059, 0.07451, 0.07843, 0.08235, 0.08627, 
+0.09020, 0.09412, 0.09804, 0.10196, 0.10588, 0.10980, 0.11373, 0.11765, 
+0.12157, 0.12549, 0.12941, 0.13333, 0.13725, 0.14118, 0.14510, 0.14902, 
+0.15294, 0.15686, 0.16078, 0.16471, 0.16863, 0.17255, 0.17647, 0.18039, 
+0.18431, 0.18824, 0.19216, 0.19608, 0.20000, 0.20392, 0.20784, 0.21176, 
+0.21569, 0.21961, 0.22353, 0.22745, 0.23137, 0.23529, 0.23922, 0.24314, 
+0.24706, 0.25098, 0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 
+0.27843, 0.28235, 0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 
+0.30980, 0.31373, 0.39216, 0.52941, 0.66667, 0.80392, 0.80000, 1.00000
+};
+float rgb_b[256] = {
+0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 
+0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 0.31373, 
+0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 
+0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 0.47059, 
+0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 
+0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 0.62745, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 
+0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 0.94118, 
+0.95294, 0.96471, 0.97647, 0.98824, 1.00000, 0.00392, 0.00784, 0.01176, 
+0.01569, 0.01961, 0.02353, 0.02745, 0.03137, 0.03529, 0.03922, 0.04314, 
+0.04706, 0.05098, 0.05490, 0.05882, 0.06275, 0.06667, 0.07059, 0.07451, 
+0.07843, 0.08235, 0.08627, 0.09020, 0.09412, 0.09804, 0.10196, 0.10588, 
+0.10980, 0.11373, 0.11765, 0.12157, 0.12549, 0.12941, 0.13333, 0.13725, 
+0.14118, 0.14510, 0.14902, 0.15294, 0.15686, 0.16078, 0.16471, 0.16863, 
+0.17255, 0.17647, 0.18039, 0.18431, 0.18824, 0.19216, 0.19608, 0.20000, 
+0.20392, 0.20784, 0.21176, 0.21569, 0.21961, 0.22353, 0.22745, 0.23137, 
+0.23529, 0.23922, 0.24314, 0.24706, 0.25098, 0.25490, 0.25882, 0.26275, 
+0.26667, 0.27059, 0.27451, 0.27843, 0.28235, 0.28627, 0.29020, 0.29412, 
+0.29804, 0.30196, 0.30588, 0.30980, 0.31373, 0.31765, 0.32157, 0.32549, 
+0.32941, 0.33333, 0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 
+0.02745, 0.03137, 0.03529, 0.03922, 0.04314, 0.04706, 0.05098, 0.05490, 
+0.05882, 0.06275, 0.06667, 0.07059, 0.07451, 0.07843, 0.08235, 0.08627, 
+0.09020, 0.09412, 0.09804, 0.10196, 0.10588, 0.10980, 0.11373, 0.11765, 
+0.12157, 0.12549, 0.12941, 0.13333, 0.13725, 0.14118, 0.14510, 0.14902, 
+0.15294, 0.15686, 0.16078, 0.16471, 0.16863, 0.17255, 0.17647, 0.18039, 
+0.18431, 0.18824, 0.19216, 0.19608, 0.20000, 0.20392, 0.20784, 0.21176, 
+0.21569, 0.21961, 0.22353, 0.22745, 0.23137, 0.23529, 0.23922, 0.24314, 
+0.24706, 0.25098, 0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 
+0.27843, 0.28235, 0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 
+0.30980, 0.31373, 0.39216, 0.52941, 0.66667, 0.80392, 0.80000, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_Color :  //   color.lutlis
+   {
+float rgb_r[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 
+0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 
+0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902
+};
+float rgb_g[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 
+0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 
+0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 0.62353, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000
+};
+float rgb_b[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 0.18431, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 0.37255, 
+0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 
+0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 0.56078, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 0.93725, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 0.74902, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 0.49804, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 
+0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980, 0.30980
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_ManyCol :  //  manycol.lutlis
+   {
+float rgb_r[256] = {
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 
+0.44706, 0.44706, 0.44706, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 
+0.72549, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.44706, 0.44706, 0.44706, 
+0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 
+0.72549, 0.72549, 0.72549, 0.72549, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 0.44706, 
+0.44706, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.72549, 0.72549
+};
+float rgb_g[256] = {
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.69020, 0.69020, 0.69020, 0.69020, 
+0.69020, 0.69020, 0.69020, 0.69020, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.69020, 0.69020, 0.69020, 
+0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.88235, 
+0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.69020, 
+0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 
+0.69020, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 
+0.88235, 0.88235, 0.88235, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 0.78431, 
+0.78431, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 
+0.69020, 0.69020, 0.69020, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.69020, 0.69020, 0.69020, 0.69020, 
+0.69020, 0.69020, 0.69020, 0.69020, 0.69020, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.88235, 0.88235, 0.88235, 
+0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 0.88235, 0.00000, 0.00000
+};
+float rgb_b[256] = {
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 
+0.92549, 0.92549, 0.92549, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 
+0.72549, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.92549, 0.92549, 0.92549, 
+0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.72549, 0.72549, 0.72549, 0.72549, 0.72549, 
+0.72549, 0.72549, 0.72549, 0.72549, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 0.34902, 0.34902, 
+0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 0.34902, 
+0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 0.92549, 
+0.92549, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.72549, 0.72549
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_Idl14 :  //  idl14.lutlis
+   {
+float rgb_r[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.02745, 0.05882, 0.09020, 0.12157, 0.15294, 0.18431, 0.21569, 
+0.24706, 0.27451, 0.30588, 0.33725, 0.36863, 0.40000, 0.43137, 0.46275, 
+0.49412, 0.52549, 0.55686, 0.59216, 0.62353, 0.65882, 0.69020, 0.72157, 
+0.75686, 0.78824, 0.82353, 0.85490, 0.88627, 0.92157, 0.95294, 0.98824, 
+0.00000, 0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 0.02745, 
+0.03137, 0.03529, 0.03922, 0.04314, 0.04706, 0.05490, 0.06275, 0.07059, 
+0.07843, 0.09020, 0.09804, 0.10588, 0.11373, 0.12549, 0.13333, 0.14118, 
+0.14902, 0.16078, 0.17255, 0.18431, 0.19608, 0.20784, 0.21961, 0.23137, 
+0.24706, 0.25882, 0.27059, 0.28235, 0.29412, 0.30588, 0.32157, 0.33333, 
+0.34902, 0.36471, 0.38039, 0.39608, 0.41176, 0.42353, 0.43922, 0.45490, 
+0.47059, 0.48627, 0.50196, 0.51373, 0.52941, 0.54510, 0.56078, 0.57647, 
+0.59216, 0.60784, 0.62353, 0.63922, 0.65490, 0.67059, 0.68627, 0.69804, 
+0.70980, 0.72549, 0.73725, 0.75294, 0.76471, 0.77647, 0.79216, 0.80392, 
+0.81961, 0.83137, 0.84706, 0.85490, 0.86275, 0.87451, 0.88235, 0.89020, 
+0.90196, 0.90980, 0.91765, 0.92941, 0.93725, 0.94510, 0.95686, 0.95686, 
+0.96078, 0.96471, 0.96863, 0.96863, 0.97255, 0.97647, 0.98039, 0.98039, 
+0.98431, 0.98824, 0.99216, 0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 
+0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 
+0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 0.99608, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 
+1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.16471, 0.33333, 0.49804, 0.66667, 0.83137, 1.00000, 0.96471, 
+0.92549, 0.88627, 0.84706, 0.80784, 0.77255, 0.73333, 0.69412, 0.65490, 
+0.61569, 0.58039, 0.54118, 0.50196, 0.46275, 0.42353, 0.38824, 0.34902, 
+0.30980, 0.27059, 0.23137, 0.19608, 0.15686, 0.11765, 0.07843, 0.03922, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00784, 0.00392, 0.00392, 0.01176, 0.01961, 0.03137, 
+0.03922, 0.04706, 0.05882, 0.06667, 0.07451, 0.08627, 0.09412, 0.10196, 
+0.11373, 0.12157, 0.12941, 0.14118, 0.14118, 0.14902, 0.15686, 0.16471, 
+0.17647, 0.18824, 0.20000, 0.21176, 0.22745, 0.23922, 0.25098, 0.26275, 
+0.27451, 0.28627, 0.30196, 0.32157, 0.34118, 0.36078, 0.37647, 0.39216, 
+0.40784, 0.42353, 0.44314, 0.46667, 0.49020, 0.51373, 0.54118, 0.56471, 
+0.59216, 0.61569, 0.64314, 0.67059, 0.69804, 0.72549, 0.75686, 0.78431, 
+0.81569, 0.84314, 0.87451, 0.89804, 0.92157, 0.94902, 0.97255, 1.00000
+};
+float rgb_b[256] = {
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.03137, 0.06275, 0.09412, 0.12549, 0.16078, 0.19216, 0.22353, 
+0.25490, 0.29020, 0.32157, 0.35294, 0.38431, 0.41569, 0.45098, 0.48235, 
+0.51373, 0.54510, 0.58039, 0.61176, 0.64314, 0.67451, 0.70588, 0.74118, 
+0.77255, 0.80392, 0.83529, 0.87059, 0.90196, 0.93333, 0.96471, 1.00000, 
+0.00000, 0.01961, 0.03922, 0.05882, 0.08235, 0.10196, 0.12157, 0.14510, 
+0.16471, 0.18431, 0.20784, 0.22745, 0.24706, 0.27059, 0.29020, 0.30980, 
+0.33333, 0.34902, 0.36863, 0.38431, 0.40392, 0.42353, 0.43922, 0.45882, 
+0.47451, 0.49412, 0.51373, 0.52941, 0.54902, 0.56471, 0.58431, 0.60392, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 
+0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 0.00392, 
+0.00392, 0.00392, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 
+0.00784, 0.00784, 0.00784, 0.00784, 0.00784, 0.01176, 0.01569, 0.01961, 
+0.02745, 0.03529, 0.04706, 0.05490, 0.06667, 0.07843, 0.09020, 0.10588, 
+0.11765, 0.13333, 0.15294, 0.17255, 0.19216, 0.21569, 0.23529, 0.25490, 
+0.27843, 0.29804, 0.32157, 0.34902, 0.38039, 0.40784, 0.43922, 0.47059, 
+0.50196, 0.53333, 0.56863, 0.60000, 0.63529, 0.67059, 0.70588, 0.74118, 
+0.77647, 0.81176, 0.85098, 0.87843, 0.90980, 0.93725, 0.96863, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
+  case CMAP_MIDAS_Idl15 :  //  idl15.lutlis
+   {
+float rgb_r[256] = {
+0.00000, 0.07059, 0.14118, 0.21176, 0.28235, 0.35294, 0.42353, 0.49804, 
+0.56863, 0.63922, 0.70980, 0.78039, 0.85098, 0.92157, 0.99608, 0.97647, 
+0.95686, 0.93725, 0.91765, 0.89804, 0.87451, 0.85490, 0.83529, 0.81569, 
+0.79608, 0.77255, 0.75294, 0.73333, 0.71373, 0.69412, 0.67451, 0.65098, 
+0.63137, 0.61176, 0.59216, 0.57255, 0.54902, 0.52941, 0.50980, 0.49020, 
+0.47059, 0.45098, 0.42745, 0.40784, 0.38824, 0.36863, 0.34902, 0.32549, 
+0.30588, 0.28627, 0.26667, 0.24706, 0.22745, 0.20392, 0.18431, 0.16471, 
+0.14510, 0.12549, 0.10196, 0.08235, 0.06275, 0.04314, 0.02353, 0.00000, 
+0.25098, 0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 0.27843, 
+0.28235, 0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 0.30980, 
+0.31373, 0.31765, 0.32157, 0.32549, 0.32941, 0.33333, 0.33725, 0.34118, 
+0.34510, 0.34902, 0.35294, 0.35686, 0.36078, 0.36471, 0.36863, 0.37255, 
+0.37647, 0.38039, 0.38431, 0.38824, 0.39216, 0.39608, 0.40000, 0.40392, 
+0.40784, 0.41176, 0.41569, 0.41961, 0.42353, 0.42745, 0.43137, 0.43529, 
+0.43922, 0.44314, 0.44706, 0.45098, 0.45490, 0.45882, 0.46275, 0.46667, 
+0.47059, 0.47451, 0.47843, 0.48235, 0.48627, 0.49020, 0.49412, 0.49804, 
+0.50196, 0.50588, 0.50980, 0.51373, 0.51765, 0.52157, 0.52549, 0.52941, 
+0.53333, 0.53725, 0.54118, 0.54510, 0.54902, 0.55294, 0.55686, 0.56078, 
+0.56471, 0.56863, 0.57255, 0.57647, 0.58039, 0.58431, 0.58824, 0.59216, 
+0.59608, 0.60000, 0.60392, 0.60784, 0.61176, 0.61569, 0.61961, 0.62353, 
+0.62745, 0.63137, 0.63529, 0.63922, 0.64314, 0.64706, 0.65098, 0.65490, 
+0.65882, 0.66275, 0.66667, 0.67059, 0.67451, 0.67843, 0.68235, 0.68627, 
+0.69020, 0.69412, 0.69804, 0.70196, 0.70588, 0.70980, 0.71373, 0.71765, 
+0.72157, 0.72549, 0.72941, 0.73333, 0.73725, 0.74118, 0.74510, 0.74902, 
+0.75294, 0.75686, 0.76078, 0.76471, 0.76863, 0.77255, 0.77647, 0.78039, 
+0.78431, 0.78824, 0.79216, 0.79608, 0.80000, 0.80392, 0.80784, 0.81176, 
+0.81569, 0.81961, 0.82353, 0.82745, 0.83137, 0.83529, 0.83922, 0.84314, 
+0.84706, 0.85098, 0.85490, 0.85882, 0.86275, 0.86667, 0.87059, 0.87451, 
+0.87843, 0.88235, 0.88627, 0.89020, 0.89412, 0.89804, 0.90196, 0.90588, 
+0.90980, 0.91373, 0.91765, 0.92157, 0.92549, 0.92941, 0.93333, 0.93725, 
+0.94118, 0.94510, 0.94902, 0.95294, 0.95686, 0.96078, 0.96471, 0.96863, 
+0.97255, 0.97647, 0.98039, 0.98431, 0.98824, 0.99216, 0.99608, 1.00000
+};
+float rgb_g[256] = {
+0.00000, 0.00392, 0.00784, 0.01176, 0.01569, 0.01961, 0.02353, 0.02745, 
+0.03137, 0.03529, 0.03922, 0.04314, 0.04706, 0.05098, 0.05490, 0.05882, 
+0.06275, 0.06667, 0.07059, 0.07451, 0.07843, 0.08235, 0.08627, 0.09020, 
+0.09412, 0.09804, 0.10196, 0.10588, 0.10980, 0.11373, 0.11765, 0.12157, 
+0.12549, 0.12941, 0.13333, 0.13725, 0.14118, 0.14510, 0.14902, 0.15294, 
+0.15686, 0.16078, 0.16471, 0.16863, 0.17255, 0.17647, 0.18039, 0.18431, 
+0.18824, 0.19216, 0.19608, 0.20000, 0.20392, 0.20784, 0.21176, 0.21569, 
+0.21961, 0.22353, 0.22745, 0.23137, 0.23529, 0.23922, 0.24314, 0.24706, 
+0.25098, 0.25490, 0.25882, 0.26275, 0.26667, 0.27059, 0.27451, 0.27843, 
+0.28235, 0.28627, 0.29020, 0.29412, 0.29804, 0.30196, 0.30588, 0.30980, 
+0.31373, 0.31765, 0.32157, 0.32549, 0.32941, 0.33333, 0.33725, 0.34118, 
+0.34510, 0.34902, 0.35294, 0.35686, 0.36078, 0.36471, 0.36863, 0.37255, 
+0.37647, 0.38039, 0.38431, 0.38824, 0.39216, 0.39608, 0.40000, 0.40392, 
+0.40784, 0.41176, 0.41569, 0.41961, 0.42353, 0.42745, 0.43137, 0.43529, 
+0.43922, 0.44314, 0.44706, 0.45098, 0.45490, 0.45882, 0.46275, 0.46667, 
+0.47059, 0.47451, 0.47843, 0.48235, 0.48627, 0.49020, 0.49412, 0.49804, 
+0.50196, 0.50588, 0.50980, 0.51373, 0.51765, 0.52157, 0.52549, 0.52941, 
+0.53333, 0.53725, 0.54118, 0.54510, 0.54902, 0.55294, 0.55686, 0.56078, 
+0.56471, 0.56863, 0.57255, 0.57647, 0.58039, 0.58431, 0.58824, 0.59216, 
+0.59608, 0.60000, 0.60392, 0.60784, 0.61176, 0.61569, 0.61961, 0.62353, 
+0.62745, 0.63137, 0.63529, 0.63922, 0.64314, 0.64706, 0.65098, 0.65490, 
+0.65882, 0.66275, 0.66667, 0.67059, 0.67451, 0.67843, 0.68235, 0.68627, 
+0.69020, 0.69412, 0.69804, 0.70196, 0.70588, 0.70980, 0.71373, 0.71765, 
+0.72157, 0.72549, 0.72941, 0.73333, 0.73725, 0.74118, 0.74510, 0.74902, 
+0.75294, 0.75686, 0.76078, 0.76471, 0.76863, 0.77255, 0.77647, 0.78039, 
+0.78431, 0.78824, 0.79216, 0.79608, 0.80000, 0.80392, 0.80784, 0.81176, 
+0.81569, 0.81961, 0.82353, 0.82745, 0.83137, 0.83529, 0.83922, 0.84314, 
+0.84706, 0.85098, 0.85490, 0.85882, 0.86275, 0.86667, 0.87059, 0.87451, 
+0.87843, 0.88235, 0.88627, 0.89020, 0.89412, 0.89804, 0.90196, 0.90588, 
+0.90980, 0.91373, 0.91765, 0.92157, 0.92549, 0.92941, 0.93333, 0.93725, 
+0.94118, 0.94510, 0.94902, 0.95294, 0.95686, 0.96078, 0.96471, 0.96863, 
+0.97255, 0.97647, 0.98039, 0.98431, 0.98824, 0.99216, 0.99608, 1.00000
+};
+float rgb_b[256] = {
+0.00000, 0.00392, 0.01176, 0.01961, 0.02745, 0.03529, 0.04314, 0.05098, 
+0.05882, 0.06667, 0.07451, 0.08235, 0.09020, 0.09804, 0.10588, 0.11373, 
+0.12157, 0.12941, 0.13725, 0.14510, 0.15294, 0.16078, 0.16863, 0.17647, 
+0.18431, 0.19216, 0.20000, 0.20784, 0.21569, 0.22353, 0.23137, 0.23922, 
+0.24706, 0.25490, 0.26275, 0.27059, 0.27843, 0.28627, 0.29412, 0.30196, 
+0.30980, 0.31765, 0.32549, 0.33333, 0.34118, 0.34902, 0.35686, 0.36471, 
+0.37255, 0.38039, 0.38824, 0.39608, 0.40392, 0.41176, 0.41961, 0.42745, 
+0.43529, 0.44314, 0.45098, 0.45882, 0.46667, 0.47451, 0.48235, 0.49020, 
+0.49804, 0.50588, 0.51373, 0.52157, 0.52941, 0.53725, 0.54510, 0.55294, 
+0.56078, 0.56863, 0.57647, 0.58431, 0.59216, 0.60000, 0.60784, 0.61569, 
+0.62353, 0.63137, 0.63922, 0.64706, 0.65490, 0.66275, 0.67059, 0.67843, 
+0.68627, 0.69412, 0.70196, 0.70980, 0.71765, 0.72549, 0.73333, 0.74118, 
+0.74902, 0.75686, 0.76471, 0.77255, 0.78039, 0.78824, 0.79608, 0.80392, 
+0.81176, 0.81961, 0.82745, 0.83529, 0.84314, 0.85098, 0.85882, 0.86667, 
+0.87451, 0.88235, 0.89020, 0.89804, 0.90588, 0.91373, 0.92157, 0.92941, 
+0.93725, 0.94510, 0.95294, 0.96078, 0.96863, 0.97647, 0.98431, 0.99216, 
+1.00000, 0.98431, 0.96863, 0.95294, 0.93333, 0.91765, 0.90196, 0.88627, 
+0.86667, 0.85098, 0.83529, 0.81961, 0.80000, 0.78431, 0.76863, 0.75294, 
+0.73333, 0.71765, 0.70196, 0.68627, 0.66667, 0.65098, 0.63529, 0.61961, 
+0.60000, 0.58431, 0.56863, 0.55294, 0.53333, 0.51765, 0.50196, 0.48627, 
+0.46667, 0.45098, 0.43529, 0.41961, 0.40000, 0.38431, 0.36863, 0.35294, 
+0.33333, 0.31765, 0.30196, 0.28627, 0.26667, 0.25098, 0.23529, 0.21961, 
+0.20000, 0.18431, 0.16863, 0.15294, 0.13333, 0.11765, 0.10196, 0.08627, 
+0.06667, 0.05098, 0.03529, 0.01961, 0.00000, 0.01176, 0.02745, 0.04314, 
+0.05882, 0.07451, 0.08627, 0.10196, 0.11765, 0.13333, 0.14902, 0.16078, 
+0.17647, 0.19216, 0.20784, 0.22353, 0.23529, 0.25098, 0.26667, 0.28235, 
+0.29804, 0.30980, 0.32549, 0.34118, 0.35686, 0.37255, 0.38431, 0.40000, 
+0.41569, 0.43137, 0.44706, 0.45882, 0.47451, 0.49020, 0.50588, 0.52157, 
+0.53725, 0.54902, 0.56471, 0.58039, 0.59608, 0.61176, 0.62353, 0.63922, 
+0.65490, 0.67059, 0.68627, 0.69804, 0.71373, 0.72941, 0.74510, 0.76078, 
+0.77255, 0.78824, 0.80392, 0.81961, 0.83529, 0.84706, 0.86275, 0.87843, 
+0.89412, 0.90980, 0.92157, 0.93725, 0.95294, 0.96863, 0.98431, 1.00000
+};
+    for(i=0; i<mNCol; i++) {
+      mycol.red = (rgb_r[i]*65535.); 
+      mycol.green = (rgb_g[i]*65535.); 
+      mycol.blue = (rgb_b[i]*65535.); 
+      AllocColor(mycol, i);      
+    }
+   }
+    break;
 
   default :
Index: /trunk/SophyaPI/PI/picmap.h
===================================================================
--- /trunk/SophyaPI/PI/picmap.h	(revision 1128)
+++ /trunk/SophyaPI/PI/picmap.h	(revision 1129)
@@ -24,10 +24,16 @@
 
  // Tables de couleur importees de MIDAS   256 couleurs
- CMAP_MIDAS_Pastel    = 101,   // Bleu-Violet-Rouge-Jaune
- CMAP_MIDAS_Heat      = 102,   // Noir-Rouge-Orange-Blanc
- CMAP_MIDAS_Rainbow3  = 103,   // Noir-Bleu-Vert-Jaune-Rouge-Violet-Blanc
- CMAP_MIDAS_BlueRed   = 104,   // Bleu-Violet-Rouge
- CMAP_MIDAS_BlueWhite = 105,   // Noir-Bleu-Blanc
- CMAP_MIDAS_RedWhite  = 106,   // Noir-Rouge-Rose-Blanc
+ CMAP_MIDAS_Pastel    = 101,  // Bleu-Violet-Rouge-Jaune (pastel.lutlis)
+ CMAP_MIDAS_Heat      = 102,  // Noir-Rouge-Orange-Blanc (heat.lutlis)
+ CMAP_MIDAS_Rainbow3  = 103,  // Noir-Bleu-Vert-Jaune-Rouge-Violet-Blanc (rainbow3.lutlis)
+ CMAP_MIDAS_BlueRed   = 104,  // Bleu-Violet-Rouge (idl11.lutlis)
+ CMAP_MIDAS_BlueWhite = 105,  // Noir-Bleu-Blanc (blulut.lutlis)
+ CMAP_MIDAS_Stairs8   = 106,  // escalier (stairs8.lutlis)
+ CMAP_MIDAS_Stairs9   = 107,  // escalier (stairs9.lutlis)
+ CMAP_MIDAS_StairCase = 108,  //          (staircase.lutlis)
+ CMAP_MIDAS_Color     = 109,  //          (color.lutlis)
+ CMAP_MIDAS_ManyCol   = 110,  // Repetition de motif (manycol.lutlis)
+ CMAP_MIDAS_Idl14     = 111,  //  (idl14.lutlis)
+ CMAP_MIDAS_Idl15     = 112,  //  (idl15.lutlis)
 
  //  Table simple a 16 couleurs 
Index: /trunk/SophyaPI/PI/piimgtools.cc
===================================================================
--- /trunk/SophyaPI/PI/piimgtools.cc	(revision 1128)
+++ /trunk/SophyaPI/PI/piimgtools.cc	(revision 1129)
@@ -99,4 +99,6 @@
 mOpt[0]->AppendItem("Linear", 1100);
 mOpt[0]->AppendItem("Log.", 1101);
+mOpt[0]->AppendItem("Sqrt", 1102);
+mOpt[0]->AppendItem("Square", 1103);
 mOpt[0]->SetValue(1100);
 mOpt[0]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic);
@@ -302,7 +304,9 @@
 sprintf(buff,"%g", max_lut);
 mText[1]->SetText(buff);
-if ( (mpii->Lut())->Type() == kLutType_Lin ) 
-  mOpt[0]->SetValue(1100);
-else mOpt[0]->SetValue(1101);
+if     ( (mpii->Lut())->Type() == kLutType_Lin )    mOpt[0]->SetValue(1100);
+else if( (mpii->Lut())->Type() == kLutType_Log )    mOpt[0]->SetValue(1101);
+else if( (mpii->Lut())->Type() == kLutType_Sqrt )   mOpt[0]->SetValue(1102);
+else if( (mpii->Lut())->Type() == kLutType_Square ) mOpt[0]->SetValue(1103);
+else                                                mOpt[0]->SetValue(1100);
 string s("NoAuto");
 mOpt[1]->SetValueStr(s);
@@ -321,5 +325,5 @@
 double min, max, del;
 int lauto, typ;
-int typlut[2] = {kLutType_Lin, kLutType_Log} ; 
+int typlut[4] = {kLutType_Lin, kLutType_Log, kLutType_Sqrt, kLutType_Square} ; 
 
 msg = UserMsg(msg);
@@ -362,5 +366,5 @@
     else lauto = mOpt[1]->GetValue() - 1200;
     typ = mOpt[0]->GetValue() - 1100;
-    if ( (typ < 0) || (typ > 1) )  typ = 0;
+    if ( (typ < 0) || (typ > 3) )  typ = 0;
     (PIImage::CurrentPIImage())->SetLut(min, max, typlut[typ], lauto);
     if (msg == 2500) { 
