Index: trunk/Ohana/src/opihi/dvo/pcat.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/pcat.c	(revision 7917)
+++ trunk/Ohana/src/opihi/dvo/pcat.c	(revision 13479)
@@ -6,5 +6,5 @@
   
   double Radius;
-  int i, j, N, Nregions, ShowAll, NPTS, Npts, leftside;
+  int i, j, kapa, N, Nregions, ShowAll, NPTS, Npts, leftside;
   RegionFile *regions;
   char filename[128];
@@ -14,5 +14,5 @@
   double X[4], Y[4], Rmin, Rmax, Rmid;
   char catdir[256];
-  int Ngraph, VERBOSE;
+  int VERBOSE;
 
   VarConfig ("CATDIR", "%s", catdir);
@@ -33,6 +33,5 @@
     return (FALSE);
   }
-  Ngraph = 0;
-  if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);
+  if (!GetGraph (&graphmode, &kapa, NULL)) return (FALSE);
   
   Radius = MAX (fabs(graphmode.xmax), fabs(graphmode.ymax));
@@ -84,7 +83,5 @@
     graphmode.ptype = 100; /* connect pairs of points */
     graphmode.etype = 0;
-    PrepPlotting (Npts, &graphmode);
-    PlotVector (Npts, Xvec.elements);
-    PlotVector (Npts, Yvec.elements);
+    PlotVectorPair (kapa, Npts, Xvec.elements, Yvec.elements, &graphmode);
   }
 
