Index: trunk/Ohana/src/opihi/dvo/pmeasure.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/pmeasure.c	(revision 6683)
+++ trunk/Ohana/src/opihi/dvo/pmeasure.c	(revision 7080)
@@ -5,5 +5,4 @@
   FILE *f;
   int i, j, k, m, N;
-  int Ngraph;
   double Mz, Mr, mag;
   double Radius, Rmin, Rmax;
@@ -18,7 +17,6 @@
   Vector Xvec, Yvec, Zvec;
 
-  Ngraph = -1;
   if (!InitPhotcodes ()) return (FALSE);
-  if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);
+  if (!style_args (&graphmode, &argc, argv, 0)) return FALSE;
 
   f = (FILE *) NULL;
@@ -70,5 +68,6 @@
     return (FALSE);
   }
-  
+  SetGraph (graphmode);
+
   Radius = MAX (fabs(graphmode.xmax), fabs(graphmode.ymax));
 
