- Timestamp:
- May 18, 2007, 7:24:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/kapa-mods-2007-05/Ohana/src/opihi/cmd.astro/czplot.c
r13409 r13432 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, NULL)) 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, "x"); 64 PlotVector (Npts, Yvec.elements, "y"); 65 PlotVector (Npts, Zvec.elements, "z"); 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.
