Spectrogram and ginput

1 view (last 30 days)
Jennell
Jennell on 28 Jun 2011
I have a script that worked in prior versions. Now using 7.11.0(2010b). The script plots with Spectrogram and then obtains user input with ginput. However, the crosshairs seem to be whiting out the plot where ever the cursor is dragged. This does not happen with other plots, only those generated with Spectrogram.
Any ideas of why this is happening or how to resolve this?
Am running Windows 64-bit on an iMac, if that makes any difference.
Thanks!

Accepted Answer

Paulo Silva
Paulo Silva on 28 Jun 2011
Had that problem once, never found a good fix just a workaround, edit ginput comment the line set(fig,'pointer','fullcrosshair'); change the name of the function to ginput2 and save as ginput2.m , now use ginput2 instead, you lose the crosshair but the problem is gone.
  1 Comment
Jennell
Jennell on 28 Jun 2011
Thank you so much for your workaround suggestion!

Sign in to comment.

More Answers (0)

Categories

Find more on Visual Exploration 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!