Index: trunk/Ohana/src/opihi/cmd.astro/cdot.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/cdot.c	(revision 39926)
+++ trunk/Ohana/src/opihi/cmd.astro/cdot.c	(revision 40165)
@@ -22,5 +22,5 @@
 
   /* set point style and errorbar mode (these are NOT sticky) */
-  graphmode.style = 2;
+  graphmode.style = KAPA_PLOT_POINTS; /* points */
   graphmode.etype = 0;
 
Index: trunk/Ohana/src/opihi/cmd.astro/cgrid.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/cgrid.c	(revision 39926)
+++ trunk/Ohana/src/opihi/cmd.astro/cgrid.c	(revision 40165)
@@ -276,6 +276,6 @@
   /* send the line segments as connect-points */
   Xvec.Nelements = Yvec.Nelements = N;
-  graphmode.style = 2; /* points */
-  graphmode.ptype = 100; /* connect a pair */
+  graphmode.style = KAPA_PLOT_POINTS; /* points */
+  graphmode.ptype = KAPA_POINT_PAIR_CONNECT; /* connect pairs of points */
   graphmode.etype = 0;
   PlotVectorPair (kapa, &Xvec, &Yvec, NULL, &graphmode);
Index: trunk/Ohana/src/opihi/cmd.astro/cline.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/cline.c	(revision 39926)
+++ trunk/Ohana/src/opihi/cmd.astro/cline.c	(revision 40165)
@@ -20,5 +20,5 @@
 
   /* set point style and errorbar mode (these are NOT sticky) */
-  graphmode.style = 0;
+  graphmode.style = KAPA_PLOT_CONNECT;
   graphmode.etype = 0;
 
Index: trunk/Ohana/src/opihi/cmd.astro/czplot.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/czplot.c	(revision 39926)
+++ trunk/Ohana/src/opihi/cmd.astro/czplot.c	(revision 40165)
@@ -111,5 +111,5 @@
   Zvec.Nelements = Npts;
 
-  graphmode.style = 2;
+  graphmode.style = KAPA_PLOT_POINTS; /* points */
   graphmode.size = -1; /* point size determined by Zvec */
   graphmode.etype = 0;
@@ -236,5 +236,5 @@
   Zvec.Nelements = Npts;
 
-  graphmode.style = 2;
+  graphmode.style = KAPA_PLOT_POINTS;
   graphmode.color = -1; /* point color determined by Zvec */
   graphmode.etype = 0;
