Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alt_az cardinals are misaligned. #14

Open
Mittagskogel opened this issue Jul 6, 2022 · 0 comments
Open

alt_az cardinals are misaligned. #14

Mittagskogel opened this issue Jul 6, 2022 · 0 comments

Comments

@Mittagskogel
Copy link

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant