CLEANDAT
Name
cleandat
Purpose
Interactive program to eliminate and smooth over bad data points.
Description
The data are plotted to window 6, then the cursor becomes active.
Clicking right will exit the routine. Clicking left will select a
point for change. After a left click, you must click again at the
y value to give to the corrected point. A running display helps
identify the current point that the cursor is nearest to in X.
Clicking the middle button will cause the point nearest the cursor
(in X) to be replaced by the average of its nearest neighbors.
Category
2-D plotting
Calling Sequence
cleandat,xval,yval
Inputs
xval - Input vector of x values.
yval - Input vector of y values (modified).
Optional Input Parameters
Keyword Input Parameters
TITLE - Optional title for plot
Outputs
yval - (potentially) cleaned version of y values.
Keyword Output Parameters
Common Blocks
Side Effects
Uses graphics window 6 and forces its size. !p.multi is also set to 0.
Restrictions
Procedure
Modification History
95/03/24, Written by Marc W. Buie, Lowell Observatory