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/cmd.data/grid.c

    r7917 r13479  
    33int grid (int argc, char **argv) {
    44 
    5   int j, N, MinorTick, MajorTick;
     5  int j, kapa, N, MinorTick, MajorTick;
    66  Vector Xvec, Yvec;
    77  double range, lrange, factor, mantis, fmantis, power, major, minor, first, next;
    88  Graphdata graphmode;
    9   int Ngraph;
    10 
    11   Ngraph = -1;
    12   if ((N = get_argument (argc, argv, "-n"))) {
    13     remove_argument (N, &argc, argv);
    14     Ngraph = atof (argv[N]);
    15     remove_argument (N, &argc, argv);
    16   }
    17   if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);
     9
     10  if (!style_args (&graphmode, &argc, argv, &kapa)) return (FALSE);
    1811
    1912  MajorTick = TRUE;
     
    200193  graphmode.ptype = 100; /* connect a pair */
    201194  graphmode.etype = 0;
    202   PrepPlotting (N, &graphmode);
    203   PlotVector (N, Xvec.elements);
    204   PlotVector (N, Yvec.elements);
     195  PlotVectorPair (kapa, N, Xvec.elements, Yvec.elements, &graphmode);
    205196
    206197  free (Xvec.elements);
Note: See TracChangeset for help on using the changeset viewer.