Make button down function work for objects inside axes.
Mostrar comentarios más antiguos
Hi, I have a quick question, I am using the "WindowButtonDownFcn" in order to get the location i clicked inside an axes object, but when i click lets say in a rectangle that is plotted inside the axes i don't get that location. So how can i make this function print the location i clicked inside the axes no matter what it is plotted in it.
Should i use the "WindowButtonDownFcn" in my figure or panel that the axes belong rather than the axes itself? And wouldn't that be a problem as my axes units are set in cm?
Thank you for your time.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!