-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Picking a line is too difficult #349
Comments
If you mean increasing the bounding box, then I think so; but are you trying to select a line using the mouse? If so, how are you selecting it? |
Yes, selecting using mouse -- in the "standard" way from https://simondanisch.github.io/ReferenceImages/gallery//edit_polygon/index.html, i.e.
|
you could draw a thicker transparent line underneath... or implement your own is point close to line ;) That'd be nice to have as a fallback anyways |
JuliaPlots/AbstractPlotting.jl#696 + JuliaPlots/GLMakie.jl#177 make JuliaPlots/AbstractPlotting.jl#677 also adds some magic for finding the closest point on a line in both 2D and 3D. I think this can be closed with those pr's merged |
Minor update on this - all these pr's have been merged now. If you want to pick a line with tolerance you can use something like for (plot, idx) in pick_sorted(fig.scene, mouseposition_px(fig.scene), 10)
if plot == my_line_plot
do_something(plot, idx)
break
end
end Note that for 2d There also a |
Is it possible to increase the tolerance for picking a line?
The text was updated successfully, but these errors were encountered: