Changeset 13479 for trunk/Ohana/src/opihi/cmd.astro/cplot.c
- Timestamp:
- May 22, 2007, 12:23:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/cplot.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/cplot.c
r7917 r13479 3 3 int cplot (int argc, char **argv) { 4 4 5 int i, Npts, status;5 int i, kapa, Npts, status; 6 6 float *x, *y, *r, *d, Rmin, Rmax; 7 7 Vector Xvec, Yvec, *xvec, *yvec; 8 8 Graphdata graphmode; 9 9 10 if (!style_args (&graphmode, &argc, argv, 0)) return FALSE;10 if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE; 11 11 12 12 if (argc != 3) { … … 14 14 return (FALSE); 15 15 } 16 SetGraph (graphmode);17 16 18 17 Rmin = graphmode.coords.crval1 - 182.0; … … 67 66 68 67 graphmode.etype = 0; 69 PrepPlotting (Npts, &graphmode); 70 PlotVector (Npts, Xvec.elements); 71 PlotVector (Npts, Yvec.elements); 68 PlotVectorPair (kapa, Npts, Xvec.elements, Yvec.elements, &graphmode); 72 69 73 70 free (Xvec.elements);
Note:
See TracChangeset
for help on using the changeset viewer.
