Add cpgmoves to draws for Giza compatibility
parent
3e4664f2e8
commit
7a27a30581
|
@ -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
|
if (x > 0.0 && x < img.naxis1 && y > 0.0 && y < img.naxis2
|
||||||
&& textflag == 0)
|
&& textflag == 0)
|
||||||
{
|
{
|
||||||
if (flag != 0)
|
if (flag != 0) {
|
||||||
cpgdraw (x, y);
|
cpgdraw (x, y);
|
||||||
|
cpgmove (x, y);
|
||||||
|
}
|
||||||
cpgsch (0.65);
|
cpgsch (0.65);
|
||||||
cpgtext (x, y, norad);
|
cpgtext (x, y, norad);
|
||||||
cpgsch (isch);
|
cpgsch (isch);
|
||||||
|
@ -228,6 +230,7 @@ plot_satellites (char *tlefile, struct image img, long satno, double mjd0,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cpgdraw (x, y);
|
cpgdraw (x, y);
|
||||||
|
cpgmove (x, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (textflag == 1)
|
if (textflag == 1)
|
||||||
|
|
Loading…
Reference in New Issue