From 7a27a305817943c80e7c7c03ea6ef220f3cb0853 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Thu, 11 Aug 2022 13:36:26 -0600 Subject: [PATCH] Add cpgmoves to draws for Giza compatibility --- src/satid.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/satid.c b/src/satid.c index 80bdbf3..f99e88d 100644 --- a/src/satid.c +++ b/src/satid.c @@ -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)