Why does the crosshair of ginput erase the underlying plot created with surf?

Using ginput(1) on surf(peaks) in Matlab R2013a leads to the fact, that the drawn crosshair erases the underlying plot. Seems like the redraw-command is not invoked. Is this a known bug, is there anything I'm doing wrong or does anyone know a workaround?
Thanks a lot for your help!

 Accepted Answer

My guess is this is related to your OpenGL hardware drivers. First, try updating your graphics drivers. If that does not work, run the following:
opengl software
to force MATLAB to use the software implementation of OpenGL

More Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!