Changeset 13479 for trunk/Ohana/src/opihi/cmd.astro/cgrid.c
- Timestamp:
- May 22, 2007, 12:23:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/cgrid.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/cgrid.c
r7917 r13479 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, 0)) 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); 396 PlotVector (N, Yvec.elements); 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.
