70 _doCCur(
"Click Left Mouse Button on Left Edge of Desired Region");
79 _doCCur(
"Click Left Mouse Button on Right Edge of Desired Region");
90 st_report(
"Bdrop = %d, Edrop = %d", bd, ed);
105 double ymin, ymax, tmp;
107 _doTCur(
"Click the Plot at the Minimum Value");
111 _doTCur(
"Click the Plot at the Maximum Value");
133 double left_x, left_y, right_x, right_y, tmp;
135 _doCCur(
"Click Left Mouse Button on Left Edge of Desired Region");
142 _doCCur(
"Click Left Mouse Button on Right Edge of Desired Region");
195 st_report(
"findXaxisElement() returned channels %d %d", b, e);
202 st_fail(
"setXRange(): Problem with Passed args %.3f %.3f", x1, x2);
208 st_fail(
"Missing args for xrange");
229 st_fail(
"Missing args for yrange");
245 case 0:
_h0();
break;
246 case 1:
_h1();
break;
247 case 2:
_h2();
break;
248 case 3:
_h3();
break;
249 case 4:
_h4();
break;
250 case 5:
_h5();
break;
251 case 6:
_h6();
break;
252 case 7:
_h7();
break;
253 case 8:
_h8();
break;
254 case 9:
_h9();
break;
339 st_report(
"Setting plotting x-axis to Channel-Channel");
350 st_report(
"Setting plotting x-axis to Channel-Freq");
361 st_report(
"Setting plotting x-axis to Channel-Velocity");
372 st_report(
"Setting plotting x-axis to Freq-Channel");
383 st_report(
"Setting plotting x-axis to Freq-Freq");
394 st_report(
"Setting plotting x-axis to Freq-Velocity");
405 st_report(
"Setting plotting x-axis to Velocity-Channel");
416 st_report(
"Setting plotting x-axis to Velocity-Freq");
427 st_report(
"Setting plotting x-axis to Velocity-Velocity");
438 st_report(
"Setting plotting format to Points");
448 st_report(
"Setting plotting format to Historgraph");
458 st_report(
"Setting plotting format to Lines");
468 st_report(
"Setting plotting format to LinePts");
542 xtab[i] = (double)image->
x1data[i];
546 c =
interpl8( &xtab[0], &ytab[0], n, f, &next );
553 xtab[i] = (double)image->
x2data[i];
557 c =
interpl8( &xtab[0], &ytab[0], n, f, &next );
561 st_fail(
"Niether X-Axis is set to Freq");
582 xtab[i] = (double)image->
x1data[i];
586 c =
interpl8( &xtab[0], &ytab[0], n, v, &next );
593 xtab[i] = (double)image->
x2data[i];
597 c =
interpl8( &xtab[0], &ytab[0], n, v, &next );
601 st_fail(
"Niether X-Axis is set to Vel");
613 int i, good1=0, good2=0;
645 st_print(
"Possible Options; Xaxis: ");
656 st_print(
"Possible Options; Yaxis: ");
struct LP_IMAGE_INFO * h0
char * strcmprs(char *str)
struct PARSE_STACK * args
#define PLOT_STYLE_POINTS
char peakResultsStr1[256]
double interpl8(double *xtab, double *ytab, int no, double x, int *next)
#define PLOT_STYLE_LINEPTS
int findXaxisElement(struct LP_IMAGE_INFO *image, double x1, double x2, int *b, int *e)
char peakResultsStr2[256]
double mapFtoChan(double f)
double mapVtoChan(double v)
int makeXaxisArray(struct LP_IMAGE_INFO *image)
int computeXaxis(struct LP_IMAGE_INFO *image, int logit)
void subArgs(int wt, const char *fmt,...)
int line_determine_min_max(struct LP_IMAGE_INFO *image)