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)

helptext.m
% This file contains the help text for the cpl GUI. It has been saved
% with a ".m" extension for file-management purposes, but it is not
% actually a runnable m-file.

Select the start and end of the profile by dragging the red and green
"crop" lines, respectively.

The two smaller axes show the regions around the start and end crop
lines. These areas are indicated in the full-profile axis (the large
one) by the dashed rectangles.

The sides of the dashed rectangles can be dragged to shrink or enlarge
the regions shown in the two smaller axes. If you shrink them too far,
making it difficult or impossible to "grab" with the mouse, simply
right-click inside the full-profile axis to return the boxes to their
default size.

Control buttons are "Accept", "Reject", "Skip", "Marker" and "Quit".

   o  "Marker" turns the line markers on and off;

   o  "Accept" returns the current crop limits;

   o  "Reject" returns crop limits of [+Inf -Inf];

   o  "Skip" returns crop limits of [NaN NaN].

   o  "Quit" returns crop limits of [[ ] [ ]] (two empty vectors) and closes the figure.


Contact us at files@mathworks.com