MATLAB: Does the crosshair of ginput erase the underlying plot created with surf

ginputopenglredrawsurf crosshair

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!

Best 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