- Timestamp:
- Oct 30, 2008, 1:22:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branch_20081011/psModules/src/astrom/pmAstrometryVisual.c
r20443 r20478 25 25 # include <kapa.h> 26 26 27 # define KAPAX 80028 # define KAPAY 80027 # define KAPAX 700 28 # define KAPAY 700 29 29 30 30 31 31 //variables to determine when things are plotted 32 32 static bool isVisual = false; 33 static bool plotGridMatch = false;33 static bool plotGridMatch = true; 34 34 static bool plotTweak = true; 35 35 … … 266 266 * of these two profiles and adjusts the offset accordingly. This procedure plots the profiles. 267 267 */ 268 bool pmAstromVisualPlotTweak (psVector *xHist, psVector *yHist, int xBin, int yBin) 268 bool pmAstromVisualPlotTweak (psVector *xHist, ///< Smoothed Horizontal cut through the histogram 269 psVector *yHist, ///< Smoothed Vertical cut throug the histogram 270 int xBin, ///< X Bin index of the histogram peak 271 int yBin ///< Y bin index of the histogram peak 272 ) 269 273 { 270 274 //make sure we want to plot this … … 294 298 295 299 // plot the X histogram 296 pmAstromVisualScaleGraphdata(&graphdata, xIndices, xHist New, false);300 pmAstromVisualScaleGraphdata(&graphdata, xIndices, xHist, false); 297 301 KapaSetSection(kapa, §ion1); 298 302 KapaSetLimits (kapa, &graphdata); … … 321 325 322 326 //plot the Y histogram 323 pmAstromVisualScaleGraphdata(&graphdata, yIndices, yHist New, false);327 pmAstromVisualScaleGraphdata(&graphdata, yIndices, yHist, false); 324 328 KapaSetSection(kapa, §ion2); 325 329 KapaSetLimits (kapa, &graphdata); 326 330 KapaSetFont(kapa, "helvetica", 14); 331 graphdata.color = KapaColorByName ("black"); 327 332 KapaBox(kapa, &graphdata); 328 333 KapaSendLabel (kapa, "Y offset Bin", KAPA_LABEL_XM); … … 333 338 graphdata.ptype = 0; 334 339 graphdata.size = 0.4; 335 graphdata.color = KapaColorByName ("black");336 340 337 341 KapaPrepPlot (kapa, yHist->n, &graphdata);
Note:
See TracChangeset
for help on using the changeset viewer.
