diff --git a/satorbit.c b/satorbit.c index 37f0beb..e7f678f 100644 --- a/satorbit.c +++ b/satorbit.c @@ -187,7 +187,8 @@ void plot_footprint(struct sat s) } if (r0>XKMPER || (r00.0)) { cpgmove(x0,y0); - cpgpt1(x,y,1); + cpgdraw(x,y); + cpgmove(x,y); } if (z>0.0) cpgpt1(x,y,4); @@ -206,9 +207,10 @@ void plot_footprint(struct sat s) if (flag==0) cpgmove(x,y); - else - cpgpt1(x,y,1); - + else { + cpgdraw(x,y); + cpgmove(x,y); + } if (z>0.0) flag=1; else @@ -370,7 +372,8 @@ void plot_track(void) if (sqrt(x*x+y*y)0.0) flag=1; else @@ -614,9 +620,10 @@ void plot_grid(void) if (flag==0) cpgmove(x,y); - else - cpgpt1(x,y,1); - + else { + cpgdraw(x,y); + cpgmove(x,y); + } if (z>0.0) flag=1; else @@ -902,9 +909,10 @@ void plot_terminator(void) if (flag==0) cpgmove(x,y); - else - cpgpt1(x,y,1); - + else { + cpgdraw(x,y); + cpgmove(x,y); + } if (z>0.0) flag=1; else @@ -959,7 +967,8 @@ void plot_notam(char *filename) cpgmove(x,y); flag=1; } else { - cpgpt1(x,y,z); + cpgdraw(x,y); + cpgmove(x,y); } } else { flag=0;