1
0
Fork 0

Add cpgmoves to draws for Giza compatibility

giza-pure
Jeff Moe 2022-08-11 13:36:26 -06:00
parent 3e4664f2e8
commit 7a27a30581
1 changed files with 4 additions and 1 deletions

View File

@ -204,8 +204,10 @@ plot_satellites (char *tlefile, struct image img, long satno, double mjd0,
if (x > 0.0 && x < img.naxis1 && y > 0.0 && y < img.naxis2
&& textflag == 0)
{
if (flag != 0)
if (flag != 0) {
cpgdraw (x, y);
cpgmove (x, y);
}
cpgsch (0.65);
cpgtext (x, y, norad);
cpgsch (isch);
@ -228,6 +230,7 @@ plot_satellites (char *tlefile, struct image img, long satno, double mjd0,
else
{
cpgdraw (x, y);
cpgmove (x, y);
}
}
if (textflag == 1)