Changeset 13479 for trunk/Ohana/src/opihi/cmd.data/dot.c
- Timestamp:
- May 22, 2007, 12:23:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/dot.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/dot.c
r7917 r13479 3 3 int dot (int argc, char **argv) { 4 4 5 int kapa; 5 6 Graphdata graphmode; 6 7 float x, y; 7 8 8 if (!style_args (&graphmode, &argc, argv, -1)) return FALSE;9 if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE; 9 10 10 11 if (argc != 3) { … … 15 16 y = atof(argv[2]); 16 17 17 /* set plotting options (these are sticky) */18 SetGraph (graphmode);19 20 18 /* set point style and errorbar mode (these are NOT sticky) */ 21 19 graphmode.style = 2; 22 20 graphmode.etype = 0; 23 21 24 if (!PrepPlotting (1, &graphmode)) return (FALSE); 25 26 PlotVector (1, &x); 27 PlotVector (1, &y); 22 if (!KapaPrepPlot (kapa, 1, &graphmode)) return (FALSE); 23 KapaPlotVector (kapa, 1, &x, "x"); 24 KapaPlotVector (kapa, 1, &y, "y"); 28 25 29 26 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
