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/dvo/pcat.c

    r13409 r13432  
    66 
    77  double Radius;
    8   int i, j, N, Nregions, ShowAll, NPTS, Npts, leftside;
     8  int i, j, kapa, N, Nregions, ShowAll, NPTS, Npts, leftside;
    99  RegionFile *regions;
    1010  char filename[128];
     
    3333    return (FALSE);
    3434  }
    35   if (!GetGraph (&graphmode, NULL, NULL)) return (FALSE);
     35  if (!GetGraph (&graphmode, &kapa, NULL)) return (FALSE);
    3636 
    3737  Radius = MAX (fabs(graphmode.xmax), fabs(graphmode.ymax));
     
    8383    graphmode.ptype = 100; /* connect pairs of points */
    8484    graphmode.etype = 0;
    85     PrepPlotting (Npts, &graphmode);
    86     PlotVector (Npts, Xvec.elements, "x");
    87     PlotVector (Npts, Yvec.elements, "y");
     85    PlotVectorPair (kapa, Npts, Xvec.elements, Yvec.elements, &graphmode);
    8886  }
    8987
Note: See TracChangeset for help on using the changeset viewer.