ginput does not work in 2015a on ubuntu 14.04
1 次查看(过去 30 天)
显示 更早的评论
I have a strange problem: I wrote a script using 2011b some time ago on a mac OS X and it worked perfectly, but now I try to run it on my office workstation running ubuntu 14.04 and Matlab 2015a, the ginput function does not respond to my mouse click anymore. My code looks like this:
...
figure (1), a 3D isosurface plot
...
figure(2), involves ginput
and now the problem happens.
I've tried a different script where figure(1) is a simple sin function plot, then ginput in figure(2) seems to work fine. So what might be the problem? I hope it is nothing to do with my graphics card (nvidia quadro K2000D). Many thanks!
2 个评论
Dasharath Gulvady
2015-5-15
There is a known issue with "ginput" when creating multiple figures in R2015a. As a workaround, place a call to "drawnow" after each call to "figure".
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!