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_reset_boxes(figNum)
function [] = cpl_reset_boxes(figNum)
%
% cpl_reset_boxes.m--Resets the boxes to their default sizes (useful if
% they have been shrunk down so far that they are hard to drag).
%
% Syntax: cpl_reset_boxes(figNum)

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

%cpl_constants = get(gcf,'userdata');
cpl_properties = getappdata(figNum,'cpl_properties');
cpl_properties.boxWidthPct = 5;
%set(gcf,'userdata',cpl_constants);
setappdata(figNum,'cpl_properties',cpl_properties);
cpl_update(figNum);

Contact us at files@mathworks.com