You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
so basically I am trying to use ginput https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.ginput.html, to interactively select points on the plots, that's because it seems the most practical, as I tried event handling and picking of matplotlib but these are more complex (not really, but ginput is handier) and anyway they don't give any different results. The problem is the system doesn't print data, but axes values instead, so for example if I pick azimuth=45°/dip=70° the output is [1.10190524, 0.720939] that I assume are the x, y coordinates of the axes. So even if I try to convert them, the results are more and more biased as I move away from the center of the axes, which I assume is due to the stretching of the plot getting towards the edge, even if I am not sure since I am not to deep into this kind of math/transformation-related problems.
Is there a way to transform these values so to have the right orientation values (e.g. azimuth and dip) in output?
Thanks a lot for the patience in reading this and thanks in advance to anyone who's going to answer
Stew
The text was updated successfully, but these errors were encountered:
Hi everyone,
so basically I am trying to use ginput https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.ginput.html, to interactively select points on the plots, that's because it seems the most practical, as I tried event handling and picking of matplotlib but these are more complex (not really, but ginput is handier) and anyway they don't give any different results. The problem is the system doesn't print data, but axes values instead, so for example if I pick azimuth=45°/dip=70° the output is [1.10190524, 0.720939] that I assume are the x, y coordinates of the axes. So even if I try to convert them, the results are more and more biased as I move away from the center of the axes, which I assume is due to the stretching of the plot getting towards the edge, even if I am not sure since I am not to deep into this kind of math/transformation-related problems.
Is there a way to transform these values so to have the right orientation values (e.g. azimuth and dip) in output?
Thanks a lot for the patience in reading this and thanks in advance to anyone who's going to answer
Stew
The text was updated successfully, but these errors were encountered: