Code covered by the BSD License  

Highlights from
choose_profile_limits

image thumbnail
from choose_profile_limits by Kevin Bartlett
Allows user to choose limits of oceanographic profile (e.g., CTD cast)

cpl_drag_box_lines()
function [] = cpl_drag_box_lines()
%
% cpl_drag_box_lines.m--Callback for dragging the box lines.
%
% Syntax: cpl_drag_box_lines

% Developed in Matlab 7.0.1.24704 (R14) Service Pack 1 on GLNX86.
% Kevin Bartlett (kpb@uvic.ca), 2006-03-20 15:05
%-------------------------------------------------------------------------

thisLine = gco;
thisLineTag = get(thisLine,'Tag');
set(gcf,'WindowButtonUpFcn',['cpl_finish_box_drag(''' thisLineTag ''')']);

Contact us at files@mathworks.com