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)

full_ax_mouse_callback()
function [] = full_ax_mouse_callback()
%
% full_ax_mouse_callback.m--Callback for mouse clicks on the full-profile
% axes.
%
% Syntax: full_ax_mouse_callback

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

selectionType = get(gcbf,'SelectionType');

% If right-clicked, reset the boxes to their default sizes.
if strcmp(selectionType,'alt')
   cpl_reset_boxes(gcbf);
end % if

Contact us at files@mathworks.com