Spectrogram and ginput

8 Ansichten (letzte 30 Tage)
Jennell
Jennell am 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!

Akzeptierte Antwort

Paulo Silva
Paulo Silva am 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 Kommentar
Jennell
Jennell am 28 Jun. 2011
Thank you so much for your workaround suggestion!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by