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

    r7917 r13479  
    33int zplot (int argc, char **argv) {
    44 
    5   int i, N, Npts, Ngraph;
     5  int i, kapa, N, Npts;
    66  float *in, *out;
    77  double min, range;
     
    99  Vector *xvec, *yvec, *zvec, Zvec;
    1010
    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);
     11  if (!style_args (&graphmode, &argc, argv, &kapa)) return (FALSE);
    1812
    1913  if (argc != 6) {
     
    5145  graphmode.etype = 0; /* no errorbars */
    5246  Npts = xvec[0].Nelements;
    53   PrepPlotting (Npts, &graphmode);
    54 
    55   PlotVector (Npts, xvec[0].elements);
    56   PlotVector (Npts, yvec[0].elements);
    57   PlotVector (Npts, Zvec.elements);
     47  PlotVectorTriplet (kapa, Npts, xvec[0].elements, yvec[0].elements, Zvec.elements, &graphmode);
    5848
    5949  free (Zvec.elements);
Note: See TracChangeset for help on using the changeset viewer.