8 char *
vxstrtok(
char *
string,
char *last_token,
char *delim);
12 int main(
int argc,
char *argv[]);
20 int argmatch(
char *s1,
char *s2,
int atleast);
21 int usage(
char *progname);
43 int stuffOtf(
int plot,
int *indxX,
float *xArray,
float *yArray);
50 int lsqfit(
float x[],
float y[],
int bdata,
int ndata,
float sig[],
int mwt,
float *a,
float *b,
float *siga,
float *sigb,
float *chi2,
float *q);
62 int flame(
double a,
double b,
double x);
71 int xgr_putXimage(
char *win_name,
double fx,
double fy,
int w,
int h,
unsigned char *
data);
73 int xgr_eventProc(XEvent *event, Window window,
unsigned int mask);
80 int find_close_color(Display *dpy, Colormap cmap, XColor *exact_color,
char *color);
83 int xgr_drawPoints(
double xmin,
double xmax,
double ymin,
double ymax,
float *
xdata,
float *
ydata,
int n,
int color);
85 int xgr_drawGrid(
double f1b,
double f1e,
double f2b,
double f2e,
int n1,
int n2,
int dx,
int dy,
int tick,
int label,
int clr1,
int clr2,
int format);
86 int xgr_drawBox(
double x,
double y,
double x2,
double y2,
int color);
88 int xgr_drawFillBox(
double xmin,
double xmax,
double ymin,
double ymax,
double xl,
double yt,
double xr,
double yb,
int color);
89 int xgr_drawRectangle(
double xmin,
double xmax,
double ymin,
double ymax,
double xl,
double yt,
double xr,
double yb,
int color,
int bold);
90 int xgr_drawTextInGrid(
double xmin,
double xmax,
double ymin,
double ymax,
double x,
double y,
char *msg,
int color,
int f);
91 int xgr_drawCircle(
double xmin,
double xmax,
double ymin,
double ymax,
double x,
double y,
double w,
double h,
int color,
int size);
93 int xgr_drawText(
double x,
double y,
char *msg,
int clr,
int f);
96 int xgr_drawOn(
double x,
double y,
int n,
double xmin,
double xmax,
char *msg,
int color,
int f);
106 extern XImage *
createXimage(Display *display,
int w,
int h,
int depth);
int xgr_drawGrid(double f1b, double f1e, double f2b, double f2e, int n1, int n2, int dx, int dy, int tick, int label, int clr1, int clr2, int format)
int xgr_drawLine(float *xdata, float *ydata, int n, int color)
int xgr_drawBin(float *xdata, float *ydata, int n, int color)
int printKeySymHelp(void)
int xgr_drawPosText(double x, double y, char *msg, int clr, int f)
int find_close_color(Display *dpy, Colormap cmap, XColor *exact_color, char *color)
int xgr_drawBox(double x, double y, double x2, double y2, int color)
int xgr_drawLabel(char *b1, char *b2, char *b3, int color)
int xgr_makeGif(char *win, char *file)
int myErrorHandler(Display *display, XErrorEvent *myerr)
int to_monitor(char *buf)
int xgr_drawTextInGrid(double xmin, double xmax, double ymin, double ymax, double x, double y, char *msg, int color, int f)
int xgr_drawText(double x, double y, char *msg, int clr, int f)
int freeDataPointers(void)
int determine_min_max(float *ydata, int dl, double scan)
int verifyScanDone(int scn)
int xgr_freeWindows(struct XGR_ *s)
int xgr_putXimage(char *win_name, double fx, double fy, int w, int h, unsigned char *data)
int stuffOtf(int plot, int *indxX, float *xArray, float *yArray)
int mainFrameRepaint(void)
int xgr_drawLineDirect(double xmin, double xmax, double ymin, double ymax, float *xdata, float *ydata, int n, int color)
int flame(double a, double b, double x)
int modefield(int id, char *field)
int dummieEventProc(XEvent *event)
int getNumSpectra(double datalen, double noint)
int xgr_setNumColors(int n)
XImage * createXimage(Display *display, int w, int h, int depth)
int lsqfit(float x[], float y[], int bdata, int ndata, float sig[], int mwt, float *a, float *b, float *siga, float *sigb, float *chi2, float *q)
int displaySingleOtfSpectra(void)
int xgr_drawFillBox(double xmin, double xmax, double ymin, double ymax, double xl, double yt, double xr, double yb, int color)
struct WINDOW * xgr_getWin(Window win)
int xgr_hardCopy(char *win, int land, int rev, char *file)
int do_linetotalmapoff(void)
int xgr_setWindowSize(char *name, double x, double y)
int xgr_drawPoint(float *xdata, float *ydata, int n, double xmin, double xmax, char *msg, int color, int f)
int checkIgnoreScans(int v, double s)
int loadGrayScale(struct XGR_ *s)
int xgr_findWindow(Display *dpy, Window win, struct WINDOW **w)
int displayArrayGraph(double xb, double xe, double yb, double ye)
int subtractPredictedRA(float *data)
int charcompare(char **s1, char **s2)
int xgr_drawPoints(double xmin, double xmax, double ymin, double ymax, float *xdata, float *ydata, int n, int color)
int xgr_graphInit(struct XGR_ *s)
int xgr_reSizeProc(Window window, int width, int height)
int xgr_drawTextClear(double x, double y, char *msg, int clr, int f)
int xgr_eventProc(XEvent *event, Window window, unsigned int mask)
int displaySingleChan(double xb, double xe, double yb, double ye)
int do_toggleFixData(char *buf)
int loadFlameScale(struct XGR_ *s, int cindx)
int loadPseudoScale(struct XGR_ *s)
int argmatch(char *s1, char *s2, int atleast)
int xgr_setFont(struct XGR_ *s, int f)
int fixVel(struct HEADER *head)
int set_sock_callback(int(*call)(void))
float bdata[MAX_ATM_ELEMENTS]
int xgr_setColorChoice(int c)
float xdata[MAX_ATM_ELEMENTS]
int readMail(char *buf, int len)
int checkBoot(struct BOOTSTRAP *b, char *fn)
int do_otf(float *data, struct HEADER *head, float *offdata, float *gainsdata)
int peekScan(double scan, char *filename, int *be, int *modeid, struct HEADER *head)
int xgr_pixmapToWindow(char *name)
int setFrameFooter(char *msg, int lr)
int myIOErrorHandler(Display *display, XErrorEvent *myerr)
int xgr_clearArea(double x, double y, double dx, double dy)
int xgr_setBox(double x, double y, double dx, double dy)
int xgr_drawCircle(double xmin, double xmax, double ymin, double ymax, double x, double y, double w, double h, int color, int size)
char ** findFixedFonts(Display *dpy, int *num)
char * vxstrtok(char *string, char *last_token, char *delim)
int to_xgraphic(char *buf)
int xgr_drawOn(double x, double y, int n, double xmin, double xmax, char *msg, int color, int f)
float ydata[MAX_ATM_ELEMENTS]
struct WINDOW * createWindow(struct XGR_ *s, char *title, int cw, int ch, int xpos, int ypos, int bg, int usPixmap, int which)
int scaleData(float *data)
int xgr_mapUnmapWindow(char *name, int map)
int xgr_drawRectangle(double xmin, double xmax, double ymin, double ymax, double xl, double yt, double xr, double yb, int color, int bold)
int xgr_rePaintProc(Window window)
int xgr_checkForEvents(void)
int createWindows(struct XGR_ *s, char *title, int cw, int ch, int xpos, int ypos, int bg, int usPixmap)
int xgr_clearScreen(void)
int processEvent(struct XGR_ *s)
int xgr_setCurWindow(int win, int which)