- 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/cgrid.c
r13409 r13432 14 14 double x, y; 15 15 Vector Xvec, Yvec; 16 int NorthPole, SouthPole, N, OnPic, LOnPic, status, NELEMENTS, First;16 int kapa, NorthPole, SouthPole, N, OnPic, LOnPic, status, NELEMENTS, First; 17 17 Graphdata graphmode; 18 18 19 if (!style_args (&graphmode, &argc, argv, NULL)) return FALSE;19 if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE; 20 20 21 21 if (argc != 1) { … … 23 23 return (FALSE); 24 24 } 25 SetGraph (graphmode);26 25 27 26 /* are we plotting one of the poles? */ … … 392 391 graphmode.ptype = 100; /* connect a pair */ 393 392 graphmode.etype = 0; 394 PrepPlotting (N, &graphmode); 395 PlotVector (N, Xvec.elements, "x"); 396 PlotVector (N, Yvec.elements, "y"); 393 PlotVectorPair (kapa, N, Xvec.elements, Yvec.elements, &graphmode); 397 394 398 395 free (Xvec.elements);
Note:
See TracChangeset
for help on using the changeset viewer.
