Changeset 13479 for trunk/Ohana/src/opihi/dvo/pcat.c
- Timestamp:
- May 22, 2007, 12:23:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/pcat.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/pcat.c
r7917 r13479 6 6 7 7 double Radius; 8 int i, j, N, Nregions, ShowAll, NPTS, Npts, leftside;8 int i, j, kapa, N, Nregions, ShowAll, NPTS, Npts, leftside; 9 9 RegionFile *regions; 10 10 char filename[128]; … … 14 14 double X[4], Y[4], Rmin, Rmax, Rmid; 15 15 char catdir[256]; 16 int Ngraph,VERBOSE;16 int VERBOSE; 17 17 18 18 VarConfig ("CATDIR", "%s", catdir); … … 33 33 return (FALSE); 34 34 } 35 Ngraph = 0; 36 if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE); 35 if (!GetGraph (&graphmode, &kapa, NULL)) return (FALSE); 37 36 38 37 Radius = MAX (fabs(graphmode.xmax), fabs(graphmode.ymax)); … … 84 83 graphmode.ptype = 100; /* connect pairs of points */ 85 84 graphmode.etype = 0; 86 PrepPlotting (Npts, &graphmode); 87 PlotVector (Npts, Xvec.elements); 88 PlotVector (Npts, Yvec.elements); 85 PlotVectorPair (kapa, Npts, Xvec.elements, Yvec.elements, &graphmode); 89 86 } 90 87
Note:
See TracChangeset
for help on using the changeset viewer.
