star-charter icon indicating copy to clipboard operation
star-charter copied to clipboard

alt_az cardinals are misaligned.

Open Mittagskogel opened this issue 2 years ago • 0 comments

The "E" and "W" cardinal direction labels in the alt_az chart are not aligned vertically. I believe the label_positions should be as follows:

            chart_label(p, s, black, "N",
                        &(label_position) {-dh * sin(a), -dv * cos(a), 0, 0, -1}, 1,
                        0, 0, 2.5, 1, 0, 0, -1);
            chart_label(p, s, black, "E",
                        &(label_position) {-dh * sin(a + DEG90), -dv * cos(a + DEG90), 0, 1, 0}, 1,
                        0, 0, 2.5, 1, 0, 0, -1);
            chart_label(p, s, black, "S",
                        &(label_position) {-dh * sin(a + DEG180), -dv * cos(a + DEG180), 0, 0, 1}, 1,
                        0, 0, 2.5, 1, 0, 0, -1);
            chart_label(p, s, black, "W",
                        &(label_position) {-dh * sin(a + DEG270), -dv * cos(a + DEG270), 0, -1, 0}, 1,
                        0, 0, 2.5, 1, 0, 0, -1);

Mittagskogel avatar Jul 06 '22 07:07 Mittagskogel