IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 22, 2007, 12:23:09 PM (19 years ago)
Author:
eugene
Message:

upgrading to kapa 2.0 API, upgrades to dvo user interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/pcat.c

    r7917 r13479  
    66 
    77  double Radius;
    8   int i, j, N, Nregions, ShowAll, NPTS, Npts, leftside;
     8  int i, j, kapa, N, Nregions, ShowAll, NPTS, Npts, leftside;
    99  RegionFile *regions;
    1010  char filename[128];
     
    1414  double X[4], Y[4], Rmin, Rmax, Rmid;
    1515  char catdir[256];
    16   int Ngraph, VERBOSE;
     16  int VERBOSE;
    1717
    1818  VarConfig ("CATDIR", "%s", catdir);
     
    3333    return (FALSE);
    3434  }
    35   Ngraph = 0;
    36   if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);
     35  if (!GetGraph (&graphmode, &kapa, NULL)) return (FALSE);
    3736 
    3837  Radius = MAX (fabs(graphmode.xmax), fabs(graphmode.ymax));
     
    8483    graphmode.ptype = 100; /* connect pairs of points */
    8584    graphmode.etype = 0;
    86     PrepPlotting (Npts, &graphmode);
    87     PlotVector (Npts, Xvec.elements);
    88     PlotVector (Npts, Yvec.elements);
     85    PlotVectorPair (kapa, Npts, Xvec.elements, Yvec.elements, &graphmode);
    8986  }
    9087
Note: See TracChangeset for help on using the changeset viewer.