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/imbox.c

    r12332 r13479  
    33int imbox (int argc, char **argv) {
    44 
    5   int j, Nskip, status, InPic, flipped;
     5  int j, kapa, Nskip, status, InPic, flipped;
    66  Vector Xvec, Yvec;
    77  double r, d, x[4], y[4], Rmin, Rmax, Rmid;
     
    1212  FILE *f;
    1313
    14   if (!style_args (&graphmode, &argc, argv, 0)) return FALSE;
     14  if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE;
    1515
    1616  if (argc != 2) {
     
    1818    return (FALSE);
    1919  }
    20   SetGraph (graphmode);
    2120
    2221  f = fopen (argv[1], "r");
     
    7776      graphmode.ptype = 100; /* connect pairs of points */
    7877      graphmode.etype = 0;
    79       PrepPlotting (8, &graphmode);
    80       PlotVector (8, Xvec.elements);
    81       PlotVector (8, Yvec.elements);
     78      PlotVectorPair (kapa, 8, Xvec.elements, Yvec.elements, &graphmode);
    8279    }
    8380  skip:
Note: See TracChangeset for help on using the changeset viewer.