##
##   ***        How to use tool  LAG  ??           ***
##   ***        Plot  x - y style                  ***
##


header <napatool.hdr>

title "LAG"

fs     1.0e+6

ivar   npts   10000

node   a noise    0.0 1.0
node   b dalgebra a>0.0 ? -log(a) : -log(-a)

tool lag   "lag.out"    b  1.0  7   npts

terminate 1 <= TOOL_INDEX
