Hi, good Tool but i get an Error:
"Error using uiextras.MousePointerHandler/onMouseMoved
Cannot access method 'onMouseMoved' in class
Error while evaluating figure WindowButtonMotionFcn"
while I do some Figure handling in a loop one the time i hover over my GUI
Great piece of code that saved me a lot of time.
However, it looks like there is a bug, which causes the maximum and minimum for data within a pixel from the edges not always being displayed.
y=[0 1 zeros(1,1e6) 1 zeros(1,1e6) 1 0];
The last peak does not show in the plot until sufficiently zoomed in.
Do you think this can be fixed? Thanks a lot!
Here is the test code to demonstrate the aliasing problem:
% findjobj test script
tgrp = uitabgroup('Parent',hWnd);
tab1 = uitab('Parent',tgrp,'Title','tab1');
tab2 = uitab('Parent',tgrp,'Title','tab2');
Matlab does not actually render the Java component until it is displayed at least once. So until that time, findjobj will return empty.
In R2014b the entire underlying graphics rendering engine has changed (so-called HG2) so it is not surprising that things that worked well in 14a need to be adapted to work in 14b. In fact, I find it a small miracle that findjobj still works well [most of the time] in 14b... In your case, you can simply activate the tabs programmatically, and call drawnow(), and this should solve your issue.