Changeset 13479 for trunk/Ohana/src/opihi/cmd.astro/czplot.c
- Timestamp:
- May 22, 2007, 12:23:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/czplot.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/czplot.c
r7917 r13479 3 3 int czplot (int argc, char **argv) { 4 4 5 int i, Npts;5 int i, kapa, Npts; 6 6 double min, range, Rmin, Rmax; 7 7 float *in, *out, *r, *d, *x, *y; … … 9 9 Graphdata graphmode; 10 10 11 if (!style_args (&graphmode, &argc, argv, 0)) return FALSE;11 if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE; 12 12 13 13 if (argc != 6) { … … 15 15 return (FALSE); 16 16 } 17 SetGraph (graphmode);18 17 19 18 min = atof(argv[4]); … … 59 58 graphmode.etype = 0; 60 59 Npts = Xvec.Nelements; 61 PrepPlotting (Npts, &graphmode); 62 63 PlotVector (Npts, Xvec.elements); 64 PlotVector (Npts, Yvec.elements); 65 PlotVector (Npts, Zvec.elements); 60 PlotVectorTriplet (kapa, Npts, Xvec.elements, Yvec.elements, Zvec.elements, &graphmode); 66 61 67 62 free (Xvec.elements);
Note:
See TracChangeset
for help on using the changeset viewer.
