IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2007, 7:24:04 AM (19 years ago)
Author:
eugene
Message:

fixing style arguments, graphmode from kapa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kapa-mods-2007-05/Ohana/src/opihi/cmd.data/zplot.c

    r13409 r13432  
    33int zplot (int argc, char **argv) {
    44 
    5   int i, N, Npts;
     5  int i, kapa, N, Npts;
    66  float *in, *out;
    77  double min, range;
     
    99  Vector *xvec, *yvec, *zvec, Zvec;
    1010
    11   if (!style_args (&graphmode, &argc, argv, NULL)) return (FALSE);
     11  if (!style_args (&graphmode, &argc, argv, &kapa)) return (FALSE);
    1212
    1313  if (argc != 6) {
     
    4545  graphmode.etype = 0; /* no errorbars */
    4646  Npts = xvec[0].Nelements;
    47   PrepPlotting (Npts, &graphmode);
    48 
    49   PlotVector (Npts, xvec[0].elements, "x");
    50   PlotVector (Npts, yvec[0].elements, "y");
    51   PlotVector (Npts, Zvec.elements, "z");
     47  PlotVectorTriplet (kapa, Npts, xvec[0].elements, yvec[0].elements, Zvec.elements, &graphmode);
    5248
    5349  free (Zvec.elements);
Note: See TracChangeset for help on using the changeset viewer.