1
0
Fork 0

Back to font errors, but right sized fonts

giza
Jeff Moe 2022-07-27 22:40:35 -06:00
parent a7fc9e2268
commit 77c76e1d41
1 changed files with 7 additions and 14 deletions

View File

@ -499,8 +499,7 @@ void plot_xyz(double mjd0,char *filename)
cpgsci(3);
cpgpt1(s.rx,s.ry,17);
//cpgsch(0.6);
cpgsch(1.0);
cpgsch(0.6);
cpgtext(s.rx,s.ry," xyz");
cpgsch(1.0);
cpgsci(1);
@ -941,8 +940,7 @@ void plot_visibility(float h)
cpgcont(cont,nx,ny,1,nx,1,ny,c,nc,tr);
// Label contours
//cpgsch(0.8);
cpgsch(1.0);
cpgsch(0.8);
for (i=0;i<nc;i++) {
sprintf(state,"%.0f",c[i]);
cpgconl(cont,nx,ny,1,nx,1,ny,c[i],tr,state,300,18);
@ -1757,22 +1755,19 @@ void skymap_plotsatellite(char *filename,int satno,double mjd0,double dt)
// Plot satellites
if (flag==0) {
//cpgsch(0.8);
cpgsch(1.0);
cpgsch(0.8);
if (s.age<25)
cpgpt1(x,y,17);
else if (s.age<50)
cpgpt1(x,y,4);
else
cpgpt1(x,y,6);
//cpgsch(0.6);
cpgsch(1.0);
cpgsch(0.6);
// Print name if in viewport
if (fabs(x)<1.5*m.w && fabs(y)<m.w && x<1.32*m.w && y<0.96*m.w && m.pflag==1)
cpgtext(x,y,norad);
//cpgsch(isch);
cpgsch(1.0);
cpgsch(isch);
cpgmove(x,y);
flag=1;
} else {
@ -2433,8 +2428,7 @@ int plot_skymap(void)
// Top left string
//cpgsch(0.8);
cpgsch(1.0);
cpgsch(0.8);
cpgsci(128);
mjd2date(m.mjd,m.nfd);
sprintf(text,"%s UTC; %s (%04d) [%+.4f\\u\\(2218)\\d, %+.4f\\u\\(2218)\\d, %.0fm]",m.nfd,m.observer,m.site_id,m.lat,m.lng,m.alt*1000.0);
@ -3241,8 +3235,7 @@ void plot_iod(char *filename)
float x,y;
cpgsci(2);
//cpgsch(0.8);
cpgsch(1.0);
cpgsch(0.8);
file=fopen(filename,"r");
// Read data
while (fgets(line,LIM,file)!=NULL) {