Index: trunk/Ohana/src/opihi/dvo/pmeasure.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/pmeasure.c	(revision 12332)
+++ trunk/Ohana/src/opihi/dvo/pmeasure.c	(revision 13479)
@@ -5,5 +5,5 @@
   
   FILE *f;
-  int i, j, k, m, Narg, Npts, NPTS, status, VERBOSE;
+  int i, j, k, m, kapa, Narg, Npts, NPTS, status, VERBOSE;
   double Mz, Mr, mag;
   double Radius, Rmin, Rmax, R, D;
@@ -19,5 +19,5 @@
 
   if (!InitPhotcodes ()) return (FALSE);
-  if (!style_args (&graphmode, &argc, argv, 0)) return FALSE;
+  if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE;
 
   f = (FILE *) NULL;
@@ -75,5 +75,4 @@
     return (FALSE);
   }
-  SetGraph (graphmode);
   graphmode.style = 2; /* set style to points */
   graphmode.size = -1; /* point size determined by Zvec */
@@ -144,5 +143,5 @@
 	}
 	if (Npts > NCHUNK) {
-	    PlotVectorTriplet (Npts, Xvec, Yvec, Zvec, &graphmode);
+	    PlotVectorTriplet (kapa, Npts, Xvec, Yvec, Zvec, &graphmode);
 	    Npts = 0;
 	}
@@ -151,5 +150,5 @@
     dvo_catalog_free (&catalog);
   }
-  if (Npts > 0) PlotVectorTriplet (Npts, Xvec, Yvec, Zvec, &graphmode);
+  if (Npts > 0) PlotVectorTriplet (kapa, Npts, Xvec, Yvec, Zvec, &graphmode);
 
   free (Xvec);
