-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
How do I get the point coordinates (xyz) on a 3d graph? #16156
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
Comments
Hi @Daemon1992, I'm having the same issue you had last year (coordinates being returned are not the 3D coordinates displayed on the graph). Did you manage to resolve this? |
Hi @Daemon1992 |
I came across the exact same issue, any remedies?? |
I'm having the same problem, were you able to find a fix? |
It is not possible to uniquely get the coordinates in a 3d plot when they are projected onto a 2d screen. |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug summary
I've created a three-dimensional line graph, and I want to click on a point in the graph, and there's a response event.The matplotlib example doesn't seem to support 3d event response very well.
I can't get the right z coordinate of the selected point..
Code for reproduction
Actual outcome
As you can see from the diagram, the z coordinate of the point in the red circle is wrong.It should be between -40 and -50, not -12. ("pick_event")
You can see from the graph that you can't get the z coordinates by clicking on the event, only the x and y coordinates. ("button_press_event")
Matplotlib version
print(matplotlib.get_backend())
):TkAggThe text was updated successfully, but these errors were encountered: