Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93101341
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, Nov 26, 05:36
Size
616 B
Mime Type
text/html
Expires
Thu, Nov 28, 05:36 (2 d)
Engine
blob
Format
Raw Data
Handle
22573696
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