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

    r13409 r13432  
    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;
    99
    10   if (!style_args (&graphmode, &argc, argv, NULL)) return (FALSE);
     10  if (!style_args (&graphmode, &argc, argv, &kapa)) return (FALSE);
    1111
    1212  MajorTick = TRUE;
     
    193193  graphmode.ptype = 100; /* connect a pair */
    194194  graphmode.etype = 0;
    195   PrepPlotting (N, &graphmode);
    196   PlotVector (N, Xvec.elements, "x");
    197   PlotVector (N, Yvec.elements, "y");
     195  PlotVectorPair (kapa, N, Xvec.elements, Yvec.elements, &graphmode);
    198196
    199197  free (Xvec.elements);
Note: See TracChangeset for help on using the changeset viewer.