diff --git a/rfplot.c b/rfplot.c index 527597a..ced13a0 100644 --- a/rfplot.c +++ b/rfplot.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #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