Black backgroud, exit clean

spacecruft
Jeff Moe 2023-01-20 13:20:37 -07:00
parent 917d3c0151
commit c546855a09
1 changed files with 7 additions and 2 deletions

View File

@ -3,7 +3,7 @@
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <cpgplot.h>
#include <giza.h>
#include <getopt.h>
#include "rftime.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);
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);
// cpgpap(12.5,0.55);
cpgask(0);
@ -775,6 +779,7 @@ int main(int argc,char *argv[])
y0=y;
}
giza_stop_prompting();
giza_close_device();
// Free