Spectrogram and ginput

8 次查看(过去 30 天)
Jennell
Jennell 2011-6-28
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!

采纳的回答

Paulo Silva
Paulo Silva 2011-6-28
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 个评论
Jennell
Jennell 2011-6-28
Thank you so much for your workaround suggestion!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by