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

    r12332 r13479  
    33int imstats (int argc, char **argv) {
    44 
    5   int i, Nimage, N;
    6   int Mcal, AutoLimits, Ngraph;
     5  int i, kapa, Nimage, N;
     6  int Mcal, AutoLimits;
    77  double r, d;
    88  Image *image;
     
    1010  Graphdata graphmode;
    1111
    12   Ngraph = -1;
    13   if ((N = get_argument (argc, argv, "-n"))) {
    14     remove_argument (N, &argc, argv);
    15     Ngraph = atof (argv[N]);
    16     remove_argument (N, &argc, argv);
    17   }
    18   if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);
     12  if (!style_args (&graphmode, &argc, argv, &kapa)) return (FALSE);
    1913
    2014  Mcal = TRUE;
     
    6054  graphmode.style = 2;
    6155  graphmode.etype = 0;
    62   PrepPlotting (Nimage, &graphmode);
    63   PlotVector (Nimage, Xvec.elements);
    64   PlotVector (Nimage, Yvec.elements);
     56  PlotVectorPair (kapa, Nimage, Xvec.elements, Yvec.elements, &graphmode);
    6557 
    6658  free (Xvec.elements);
Note: See TracChangeset for help on using the changeset viewer.