Using the simple program
figure(1); set(gcf,'Units','normalized') k = waitforbuttonpress; rect_pos = rbbox; annotation('rectangle',rect_pos,'Color','red')
and press the mouse button in the figure, all above the cursor becomes black (sometimes some old figures and part of Matlab IDE is visible)
ones I release the button and move the mouse over black parts, they return back to normal.
I'm using 2016b on Windows 10
Some advice on how to proceed is appreciated
Best Answer