Changeset 13479 for trunk/Ohana/src/opihi/dvo/imstats.c
- Timestamp:
- May 22, 2007, 12:23:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/imstats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/imstats.c
r12332 r13479 3 3 int imstats (int argc, char **argv) { 4 4 5 int i, Nimage, N;6 int Mcal, AutoLimits , Ngraph;5 int i, kapa, Nimage, N; 6 int Mcal, AutoLimits; 7 7 double r, d; 8 8 Image *image; … … 10 10 Graphdata graphmode; 11 11 12 Ngraph = -1; 13 if ((N = get_argument (argc, argv, "-n"))) { 14 remove_argument (N, &argc, argv); 15 Ngraph = atof (argv[N]); 16 remove_argument (N, &argc, argv); 17 } 18 if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE); 12 if (!style_args (&graphmode, &argc, argv, &kapa)) return (FALSE); 19 13 20 14 Mcal = TRUE; … … 60 54 graphmode.style = 2; 61 55 graphmode.etype = 0; 62 PrepPlotting (Nimage, &graphmode); 63 PlotVector (Nimage, Xvec.elements); 64 PlotVector (Nimage, Yvec.elements); 56 PlotVectorPair (kapa, Nimage, Xvec.elements, Yvec.elements, &graphmode); 65 57 66 58 free (Xvec.elements);
Note:
See TracChangeset
for help on using the changeset viewer.
