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

    r7917 r13479  
    55int showtile (int argc, char **argv) {
    66
    7   int Nd, N, NPTS, Ngraph, status, i, InPic;
     7  int kapa, Nd, N, NPTS, status, i, InPic;
    88  Graphdata graphmode;
    99  Coords coords;
     
    1313
    1414  /* show tile pattern in viewed region */
    15 
    16   Ngraph = 0;
    17   if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);
     15  if (!GetGraph (&graphmode, &kapa, NULL)) return (FALSE);
    1816
    1917  if (argc != 1) {
     
    8886    graphmode.ptype = 100; /* connect pairs of points */
    8987    graphmode.etype = 0;
    90     PrepPlotting (N, &graphmode);
    91     PlotVector (N, Xvec.elements);
    92     PlotVector (N, Yvec.elements);
     88    PlotVectorPair (kapa, N, Xvec.elements, Yvec.elements, &graphmode);
    9389  }
    9490
Note: See TracChangeset for help on using the changeset viewer.