annotate arrows/mousey.m @ 2:7357e1dc2ad6

Simplified scheduler library with new schedule representation.
author samer
date Sat, 22 Dec 2012 16:17:51 +0000
parents 672052bd81f8
children
rev   line source
samer@0 1 % mousey - Mouse X position in axes
samer@0 2 %
samer@0 3 % mousey :: options {} -> arr({},real,pair(empty,empty)).
samer@0 4 function o=mousey(varargin), o=mousepos(varargin{:}) * arr(@(t)t(2)); end