MATLAB: Does GINPUT leave a cross trace or an artifact when the figure window overlaps the Command Window

commandcrossginputMATLABoverlappingtracewindow

Why does GINPUT leave a cross trace or an artifact when the figure window overlaps the Command Window?
For example:
1. Type the following on the Command Line and hit enter.
axes
2. Move the figure so that it overlaps with the Command Line.
3. Type the following on the Command Line and hit enter.
ginput(5)
4. Move the mouse
5. You will see the cross trace.

Best Answer

This is a bug in MATLAB that our development staff is investigating.
Currently, the only known workaround is to avoid overlapping the figure window and the Command Window when using GINPUT.