Problem with 'ginput' in a GUI with OpenGL Renderer

1 view (last 30 days)
I have a problem when I try to use the 'ginput' command on an axes in my GUI. When I move my cursor around this axes it's like painting the previous displayed image in the axes, obstructing the view of the current image I want to click on. Furthermore, the crosshair movement is very slow.
It only happens when the 'Renderer' is set to 'opengl'. When I use 'painters' instead of 'opengl' it works perfectly, there is no "painting effect" and the crosshair movement is normal... But I need the 'opengl' Renderer to apply some transparency properties to some elements like patches.
What can I do to solve this strange behaviour of the 'ginput'? What do you recommend me? Thanks!

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!