Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102272180
move.m
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 18, 23:41
Size
616 B
Mime Type
text/html
Expires
Thu, Feb 20, 23:41 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24320374
Attached To
rINSTCONTROL Instrument Control
move.m
View Options
function move(hThis,dir)
% MOVE Move the data cursor and update cursorbar
%
% Thanks to <a href="http://www.mathworks.com/matlabcentral/profile/authors/3354683-yaroslav">Yaroslav Don</a> for his assistance in updating cursorbar for
% MATLAB Graphics and for his contribution of new functionality.
% Copyright 2003-2016 The MathWorks, Inc.
% Update cursor based on direction
moveDataCursor(hThis.DataCursorHandle,hThis,hThis.DataCursorHandle,dir);
pos = get(hThis.DataCursorHandle,'Position');
set(hThis,'Position',pos);
% throw event indicating that the cursorbar was updated
notify(hThis,'UpdateCursorBar');
Event Timeline
Log In to Comment