Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
proto.h
Go to the documentation of this file.
1 /* xgraphic.c */
2 int setColor(int c);
3 int gnuplot_init(char *term);
4 int closeGnuplot(void);
5 int writeGnuplot(char *buf, int delay);
6 int readGnuplot(char *buf);
7 int isBadChan(struct LP_IMAGE_INFO *image, int bad);
8 char *makeDate(double d);
9 char *makeFrStr(double freqres);
10 int makeLineHeader(struct LP_IMAGE_INFO *image, char *buf);
11 int makeFFTHeader(struct FFT_INFO *fft, char *buf);
12 int makeSSSHeader(struct SCAN_SUM_SEND *ss, char *buf);
13 int makeHistoHeader(struct HISTO_INFO *histo, char *buf);
14 int makeContHeader(struct HEADER *h, struct ACCUM_RESULTS_SEND *a, char *buf);
15 int displayFFT(struct FFT_INFO *fft, int how);
16 int displayHisto(struct HISTO_INFO *histo, int how);
17 int logImageInfo(struct LP_IMAGE_INFO *image);
18 int makeOSB(struct HEADER *h);
19 int placeGauss(struct LP_IMAGE_INFO *image, FILE *fp, int print);
20 int placeLabels(struct LP_IMAGE_INFO *image, FILE *fp, int print);
21 int placeTBlock(struct LP_IMAGE_INFO *image, FILE *fp, int print);
22 int placeBadChans(struct LP_IMAGE_INFO *image, FILE *fp);
23 int placeChanMarkers(struct LP_IMAGE_INFO *image, FILE *fp);
24 int placeMarkers(struct LP_IMAGE_INFO *image, FILE *fp);
25 int placeHlines(struct LP_IMAGE_INFO *image, FILE *fp);
26 int placeForks(struct LP_IMAGE_INFO *image, FILE *fp, int how);
27 int placeDate(struct LP_IMAGE_INFO *image, FILE *fp);
28 int placeBmark(struct LP_IMAGE_INFO *image, FILE *fp);
29 int setPaperSize(double w, double h, char *psize, char *fsize);
30 int makeGfile(struct LP_IMAGE_INFO *image, char *gname, FILE *fp);
31 int makeBfile(struct LP_IMAGE_INFO *image, char *bshape, FILE *fp);
32 int makeBshow(struct LP_IMAGE_INFO *image, char *bname, FILE *fp);
33 int makeZline(struct LP_IMAGE_INFO *image, char *zname, FILE *fp);
34 int makeHeaderAndLabels(struct LP_IMAGE_INFO *image, FILE *fp, int mode, int how);
35 int linePlot_1(struct LP_IMAGE_INFO *image, int how);
36 int linePlot_2(struct LP_IMAGE_INFO *image, int how);
37 int linePlot_4(struct LP_IMAGE_INFO *image, int how);
38 int plotXcor(struct LP_IMAGE_INFO *image, int how);
39 int find_ticks(struct LP_IMAGE_INFO *image);
40 int fluxPlot(struct FLUX_INFO *flux, int how);
41 int accumPlot(struct ACCUM_RESULTS_SEND *a, int how);
42 int contPlot(struct CONTINUUM_PLAIN *cp, int how);
43 int plotFluxHistory(struct FLUX_HISTORY *f, int how);
44 int contSptipPlot(struct CONTINUUM_SPTIP *cs, int how);
45 int displayObjHistory(struct OBJECT *obj, int how);
46 int displayTsys(struct TSYS_SEND *tsys, int how);
47 int displayScanSum(struct SCAN_SUM_SEND *ss, int how);
48 int startGnuPlot(void);
49 int sendPlotRange(double xmin, double xmax, double ymin, double ymax);
50 int sendMousePosition(double x, double y, double x2, double y2);
51 int sendMapAngle(double ang1, double ang2);
52 int parseGnuplot(char *buf);
53 int main(int argc, char *argv[]);
54 /* ../linuxpops/xaxis.c */
struct SCAN_SUM_SEND ss
Definition: scansum.c:61
int main(void)
Definition: gsl_try_2.c:176
int placeHlines(struct LP_IMAGE_INFO *image, FILE *fp)
Definition: xgraphic.c:1224
int linePlot_1(struct LP_IMAGE_INFO *image, int how)
Definition: xgraphic.c:1816
int sendMapAngle(double ang1, double ang2)
Definition: xgraphic.c:4590
int sendMousePosition(double x, double y, double x2, double y2)
Definition: xgraphic.c:4569
int displayHisto(struct HISTO_INFO *histo, int how)
Definition: xgraphic.c:729
int setPaperSize(double w, double h, char *psize, char *fsize)
Definition: xgraphic.c:1484
int placeLabels(struct LP_IMAGE_INFO *image, FILE *fp, int print)
Definition: xgraphic.c:999
int contSptipPlot(struct CONTINUUM_SPTIP *cs, int how)
Definition: xgraphic.c:3674
int startGnuPlot(void)
Definition: xgraphic.c:4529
int displayTsys(struct TSYS_SEND *tsys, int how)
Definition: xgraphic.c:4292
int displayFFT(struct FFT_INFO *fft, int how)
Definition: xgraphic.c:654
int logImageInfo(struct LP_IMAGE_INFO *image)
Definition: xgraphic.c:826
struct termios term
Definition: linuxpops.c:68
int displayScanSum(struct SCAN_SUM_SEND *ss, int how)
Definition: xgraphic.c:4385
FILE * fp
Definition: linuxpops.c:70
Definition: header.h:13
int placeDate(struct LP_IMAGE_INFO *image, FILE *fp)
Definition: xgraphic.c:1315
int plotXcor(struct LP_IMAGE_INFO *image, int how)
Definition: xgraphic.c:2479
Definition: object.h:70
int plotFluxHistory(struct FLUX_HISTORY *f, int how)
Definition: xgraphic.c:3380
char * makeFrStr(double freqres)
Definition: xgraphic.c:410
int makeFFTHeader(struct FFT_INFO *fft, char *buf)
Definition: xgraphic.c:481
int displayObjHistory(struct OBJECT *obj, int how)
Definition: xgraphic.c:3850
int gnuplot_init(char *term)
Definition: xgraphic.c:171
int find_ticks(struct LP_IMAGE_INFO *image)
Definition: xgraphic.c:2588
int makeOSB(struct HEADER *h)
Definition: xgraphic.c:938
int makeHistoHeader(struct HISTO_INFO *histo, char *buf)
Definition: xgraphic.c:564
char fsize[256]
Definition: xgraphic.c:75
int placeMarkers(struct LP_IMAGE_INFO *image, FILE *fp)
Definition: xgraphic.c:1200
int placeBmark(struct LP_IMAGE_INFO *image, FILE *fp)
Definition: xgraphic.c:1435
int makeGfile(struct LP_IMAGE_INFO *image, char *gname, FILE *fp)
Definition: xgraphic.c:1529
int placeChanMarkers(struct LP_IMAGE_INFO *image, FILE *fp)
Definition: xgraphic.c:1175
int readGnuplot(char *buf)
Definition: xgraphic.c:309
Definition: flux.h:13
int writeGnuplot(char *buf, int delay)
Definition: xgraphic.c:289
int makeLineHeader(struct LP_IMAGE_INFO *image, char *buf)
Definition: xgraphic.c:431
int makeBshow(struct LP_IMAGE_INFO *image, char *bname, FILE *fp)
Definition: xgraphic.c:1607
int makeZline(struct LP_IMAGE_INFO *image, char *zname, FILE *fp)
Definition: xgraphic.c:1638
int placeGauss(struct LP_IMAGE_INFO *image, FILE *fp, int print)
Definition: xgraphic.c:955
int placeBadChans(struct LP_IMAGE_INFO *image, FILE *fp)
Definition: xgraphic.c:1147
Definition: tsys.h:48
int makeHeaderAndLabels(struct LP_IMAGE_INFO *image, FILE *fp, int mode, int how)
Definition: xgraphic.c:1668
int setColor(int c)
Definition: parse.c:2644
int placeForks(struct LP_IMAGE_INFO *image, FILE *fp, int how)
Definition: xgraphic.c:1249
int makeContHeader(struct HEADER *h, struct ACCUM_RESULTS_SEND *a, char *buf)
Definition: xgraphic.c:604
int makeBfile(struct LP_IMAGE_INFO *image, char *bshape, FILE *fp)
Definition: xgraphic.c:1578
int closeGnuplot(void)
Definition: xgraphic.c:268
int isBadChan(int bad)
Definition: badchan.c:377
int placeTBlock(struct LP_IMAGE_INFO *image, FILE *fp, int print)
Definition: xgraphic.c:1106
char * makeDate(double d)
Definition: xgraphic.c:370
int linePlot_2(struct LP_IMAGE_INFO *image, int how)
Definition: xgraphic.c:2108
int makeSSSHeader(struct SCAN_SUM_SEND *ss, char *buf)
Definition: xgraphic.c:523
int fluxPlot(struct FLUX_INFO *flux, int how)
Definition: xgraphic.c:2685
int accumPlot(struct ACCUM_RESULTS_SEND *a, int how)
Definition: xgraphic.c:2754
int linePlot_4(struct LP_IMAGE_INFO *image, int how)
Definition: xgraphic.c:2250
int contPlot(struct CONTINUUM_PLAIN *cp, int how)
Definition: xgraphic.c:3211
int sendPlotRange(double xmin, double xmax, double ymin, double ymax)
Definition: xgraphic.c:4550
int delay(double dc)
int parseGnuplot(char *buf)
Definition: xgraphic.c:4611
Definition: lp_fft.h:7
char psize[256]
Definition: xgraphic.c:75