plot: make legend glyph-transparent #744

pull/747/head
nick black 4 years ago
parent 9a5a4a65ca
commit ae1b45efbf
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -142,7 +142,7 @@ class ncppplot {
}else{
ncmetric((maxy - interval * states * (dimy - y - 1)) * 100, 100, buf, 0, 1000, '\0');
}
ncplane_printf_yx(ncp, dimy - y - 1, 0, "%*s", PREFIXCOLUMNS, buf);
ncplane_printf_yx(ncp, dimy - y - 1, PREFIXCOLUMNS - strlen(buf), "%s", buf);
}
}
if(finalx < startx){ // exit on pathologically narrow planes

Loading…
Cancel
Save