Code covered by the BSD License  

Highlights from
Data Browser

image thumbnail
from Data Browser by Phil Larimer
A utility to browse data files that involve one or more channels of data over time.

showFrameMarker(axisHandle)
function showFrameMarker(axisHandle)

ylims = get(axisHandle, 'ylim');
kids = get(axisHandle, 'children');

% deal with frame marker if present
markerHandle = kids(strcmp(get(kids, 'userData'), 'frameMarker'));
if ~isempty(markerHandle)
    set(markerHandle, 'ydata', [ylims(1) ylims(1)]);
end

Contact us at files@mathworks.com