Very slow ginput in 2014b
Mostrar comentarios más antiguos
Hi people,
I started to use 2014b recently. One problem is the ginput function works extremely slow! The cross point can't follow the mouse smoothly. Any idea what is the reason? Maybe some settings are not optimized? Thanks!
Yu
5 comentarios
Doug Hull
el 31 de Dic. de 2014
can you give the code you used so we can try to reproduce?
Chad Greene
el 31 de Dic. de 2014
I've experienced this in 2014b and pre-2014b for plots of large data sets. For example,
pcolor(peaks)
shading interp
ginput
works fine, but
pcolor(repmat(peaks,50,50))
shading interp
ginput
is very slow.
Yu Mu
el 5 de En. de 2015
Editada: per isakson
el 5 de En. de 2015
Catherine
el 10 de Feb. de 2015
Doug,
My analysts are also complaining about this. Ginput worked fine in 2013a, but when they upgraded to 2014b it slowed down extremely. Same code - nothing was changed except upgrade to 2014b.
Jeffrey
el 13 de Jul. de 2016
Hi, guys.
I just updated from 2015b to 2016a and have the same issue as mentioned above... GINPUT is so slow to react to mouse movements.
I also have a GUI that specifies a WindowButtonMotionFcn for mouse movement controls and have the same issues. I'm assuming the two are related.
Is there any known way to solve this?
Respuestas (1)
Chad Greene
el 16 de Feb. de 2015
0 votos
I made a function finput that creates a temporary set of axes atop the current axes, then calls ginput. In a couple of quick tests on my computer, finput is much faster than ginput for large datasets.
Categorías
Más información sobre Data Exploration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!