Changeset 13479 for trunk/Ohana/src/opihi/dvo/procks.c
- Timestamp:
- May 22, 2007, 12:23:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/procks.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/procks.c
r7917 r13479 16 16 FILE *f; 17 17 Vector Xvec, Yvec; 18 int i, j, N, NROCKS;18 int kapa, i, j, N, NROCKS; 19 19 int N0, N1, SpeedClip, Reload; 20 20 unsigned int t0, t1; … … 23 23 Graphdata graphmode; 24 24 char rockcat[256]; 25 int Ngraph;26 25 27 Ngraph = 0;28 26 VarConfig ("ROCK_CATALOG", "%s", rockcat); 29 if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);27 if (!GetGraph (&graphmode, &kapa, NULL)) return (FALSE); 30 28 31 29 f = (FILE *) NULL; … … 115 113 graphmode.style = 2; /* set style to points */ 116 114 graphmode.etype = 0; /* no errorbars */ 117 PrepPlotting (N, &graphmode); 118 119 PlotVector (N, Xvec.elements); 120 PlotVector (N, Yvec.elements); 115 PlotVectorPair (kapa, N, Xvec.elements, Yvec.elements, &graphmode); 121 116 122 117 /* now plot vectors between two extrema */ … … 148 143 graphmode.ptype = 100; /* connect pairs */ 149 144 graphmode.etype = 0; /* no errorbars */ 150 PrepPlotting (N, &graphmode); 151 152 PlotVector (N, Xvec.elements); 153 PlotVector (N, Yvec.elements); 145 146 PlotVectorPair (kapa, N, Xvec.elements, Yvec.elements, &graphmode); 154 147 155 148 free (Xvec.elements);
Note:
See TracChangeset
for help on using the changeset viewer.
