Code covered by the BSD License  

Highlights from
Interactive Peak Fitter, version 2.2

image thumbnail
from Interactive Peak Fitter, version 2.2 by Tom O'Haver
A peak fitting program for time-series signals.

ipfnudgeup
function ipfnudgeup
% Pans up one point and redraws graph
%  T. C. O'Haver (toh@umd.edu),  Version 2, March 2008.

global x
global y
global xx
global yy
global xo
global dx
global start

ly=length(y);
xo=xo+1;
if xo>ly,xo=ly,end
[xx,yy,start]=RedrawSignal(x,y,xo,dx);
% axes(h);
h2=gca;

Contact us at files@mathworks.com