Make gca() responsive to appDesigner axes clicks
Mostrar comentarios más antiguos
I have an appdesigner app such as below with a uipanel containing regular images (not uiimages). I also have many, many standalone mfunctions from before the days of appdesigner for manipulating displayed images. I would now like to apply these utility mfunctions to images in the app window that I click on. However, the mfunctions were written to freely call gca() to obtain the axis last clicked. Now, I am discovering that gca() will not detect button clicks on images plotted in uifigures. Is there no way to have the app update the current axis so that gca() can detect clicks in the app window? I would much prefer not to have to rewrite all my functions.

Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Develop Apps Programmatically en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!