Index: trunk/Ohana/src/opihi/dvo/images.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/images.c	(revision 12753)
+++ trunk/Ohana/src/opihi/dvo/images.c	(revision 13479)
@@ -14,5 +14,5 @@
   int WITH_MOSAIC, SOLO_MOSAIC, HIDDEN;
   time_t tzero, tend;
-  int N, NPTS, n, npts, Npts;
+  int N, NPTS, n, npts, Npts, kapa;
   Vector Xvec, Yvec;
   double r[8], d[8], x[8], y[8], Rmin, Rmax, Rmid, trange, Radius;
@@ -22,5 +22,5 @@
   int typehash;
 
-  if (!style_args (&graphmode, &argc, argv, 0)) return FALSE;
+  if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE;
 
   WITH_MOSAIC = FALSE;
@@ -101,5 +101,4 @@
     return (FALSE);
   }
-  SetGraph (graphmode);
   
   /* it is not an error for the database not to have any images */
@@ -282,7 +281,5 @@
     graphmode.ptype = 100; /* connect pairs of points */
     graphmode.etype = 0;
-    PrepPlotting (N, &graphmode);
-    PlotVector (N, Xvec.elements);
-    PlotVector (N, Yvec.elements);
+    PlotVectorPair (kapa, N, Xvec.elements, Yvec.elements, &graphmode);
   }
 
