How can I detect clicks on either axis using Makie.jl?
I have tried:
is_mouseinside(ax.scene)
But that also triggers on clicks inside the plot area.
Also need to know how to detect clicks only in the plot area.
How can I detect clicks on either axis using Makie.jl?
I have tried:
is_mouseinside(ax.scene)
But that also triggers on clicks inside the plot area.
Also need to know how to detect clicks only in the plot area.
Copyright © 2021 Jogjafile Inc.
This is laid out in a few examples at https://docs.makie.org/stable/explanations/events/#mouse_interaction and the simplest example would be: