Spectrogram and ginput

10 visualizaciones (últimos 30 días)
Jennell
Jennell el 28 de Jun. de 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!

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by