Spectrogram and ginput

9 vues (au cours des 30 derniers jours)
Jennell
Jennell le 28 Juin 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!

Réponse acceptée

Paulo Silva
Paulo Silva le 28 Juin 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 commentaire
Jennell
Jennell le 28 Juin 2011
Thank you so much for your workaround suggestion!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Exploration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by