Changeset 3692 for trunk/Ohana/src/opihi/cmd.astro
- Timestamp:
- Apr 8, 2005, 5:38:38 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/region.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/region.c
r2843 r3692 61 61 62 62 /* ask kapa for coordinate limits, so get the right aspect ratio */ 63 status = write (Xgraph, "LIMS", 4);63 SendGraphCommand (Xgraph, 4, "LIMS"); 64 64 read (Xgraph, buffer, 30); 65 65 sscanf (buffer, "%*s %lf %lf", &dx, &dy); … … 100 100 graphmode.coords.cdelt1 = graphmode.coords.cdelt2 = 1.0; 101 101 102 write (Xgraph, "ERAS", 4); 103 104 write (Xgraph, "SLIM", 4); 105 sprintf (buffer, "%f %f %f %f ", graphmode.xmin, graphmode.xmax, graphmode.ymin, graphmode.ymax); 106 sprintf (buffer2, "NBYTES: %6d ", strlen (buffer)); 107 write (Xgraph, buffer2, 16); 108 write (Xgraph, buffer, strlen (buffer)); 102 SendGraphCommand (Xgraph, 4, "ERAS"); 103 SendGraphCommand (Xgraph, 4, "SLIM"); 104 SendGraphMessage (Xgraph, "%f %f %f %f", graphmode.xmin, graphmode.xmax, graphmode.ymin, graphmode.ymax); 109 105 110 106 sprintf (string, "%8.4f %8.4f (%f)", Ra, Dec, Radius);
Note:
See TracChangeset
for help on using the changeset viewer.
