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

Non-linear line for 90 degree line #26

Open
MichaelCowieSeequent opened this issue Jan 13, 2019 · 1 comment
Open

Non-linear line for 90 degree line #26

MichaelCowieSeequent opened this issue Jan 13, 2019 · 1 comment

Comments

@MichaelCowieSeequent
Copy link

MichaelCowieSeequent commented Jan 13, 2019

I have been using your polar grid stereonet feature and it works perfectly, however I have a black grid overlay on top of the stereonet which draws four lines from the center of the stereonet at 0, 90, 180 and 270 degrees. Because of this, the appearance of the non-linear lines become clear. Right now I would like to report that one of the polar grid lines do not display properly.

Let's take your polar overlay example for demonstration, located at your github repository

When executing the program, I have drawn two lines that represent the x and y axis going through the center point. Here is a drawing of it,
image
From the image we can see the straight line is slight above the dotted line.
From what I can see so far, all other lines are fine.

I will begin to solve this problem now and if I solve it, a pull request will be made.

@MichaelCowieSeequent
Copy link
Author

MichaelCowieSeequent commented Jan 14, 2019

I have found the problem.

In the method set_longitude_grid located in stereonet_axes.py, you have a line which does

locs[-1] -= 0.01 # Workaround for "back" gridlines showing.

Once this line is deleted, everything works fine.

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