Changeset 7080 for trunk/Ohana/src/opihi/cmd.astro/cplot.c
- Timestamp:
- May 5, 2006, 5:44:26 PM (20 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
r2598 r7080 3 3 int cplot (int argc, char **argv) { 4 4 5 int i, Npts , Ngraph;5 int i, Npts; 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; 11 10 12 if (argc != 3) { 11 fprintf (stderr, "USAGE: cplot <ra> <dec> \n");13 fprintf (stderr, "USAGE: cplot <ra> <dec> [style]\n"); 12 14 return (FALSE); 13 15 } 14 15 Ngraph = 0; 16 if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE); 16 SetGraph (graphmode); 17 17 18 18 Rmin = graphmode.coords.crval1 - 182.0; … … 45 45 } 46 46 47 48 47 Npts = Xvec.Nelements; 49 48 graphmode.etype = 0; … … 56 55 57 56 return (TRUE); 58 59 57 } 60 58
Note:
See TracChangeset
for help on using the changeset viewer.
