Black backgroud, exit clean
parent
917d3c0151
commit
c546855a09
9
rfplot.c
9
rfplot.c
|
@ -3,7 +3,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <cpgplot.h>
|
#include <giza.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include "rftime.h"
|
#include "rftime.h"
|
||||||
#include "rfio.h"
|
#include "rfio.h"
|
||||||
|
@ -196,7 +196,11 @@ int main(int argc,char *argv[])
|
||||||
t=compute_trace(tlefile,s.mjd,s.nsub,site_id,s.freq*1e-6,s.samp_rate*1e-6,&nsat,graves,freqlist);
|
t=compute_trace(tlefile,s.mjd,s.nsub,site_id,s.freq*1e-6,s.samp_rate*1e-6,&nsat,graves,freqlist);
|
||||||
printf("Traces for %d objects for location %d\n",nsat,site_id);
|
printf("Traces for %d objects for location %d\n",nsat,site_id);
|
||||||
|
|
||||||
cpgopen("/xs");
|
giza_open_device_size_float ("/xs", "strf", 1024, 768, 3);
|
||||||
|
giza_set_colour_representation_float (0, 0.0, 0.0, 0.0);
|
||||||
|
giza_draw_background ();
|
||||||
|
giza_set_line_width_float (1);
|
||||||
|
|
||||||
giza_set_character_height_float(0.8);
|
giza_set_character_height_float(0.8);
|
||||||
// cpgpap(12.5,0.55);
|
// cpgpap(12.5,0.55);
|
||||||
cpgask(0);
|
cpgask(0);
|
||||||
|
@ -775,6 +779,7 @@ int main(int argc,char *argv[])
|
||||||
y0=y;
|
y0=y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
giza_stop_prompting();
|
||||||
giza_close_device();
|
giza_close_device();
|
||||||
|
|
||||||
// Free
|
// Free
|
||||||
|
|
Loading…
Reference in New Issue