Index: trunk/Ohana/src/opihi/cmd.data/help/close
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/close	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/close	(revision 14175)
@@ -0,0 +1,14 @@
+
+
+   close [-n win] [-g Kapa win] [-i Kii win]
+
+   Closes the specified graphics window
+
+   Default: the most recently activated window (only works
+    for the first call)
+
+   [win]: the index of the window to close
+
+   -n: any graphics or plotting window
+   -g: the Kapa plotting window
+   -i: the Kii image window
Index: trunk/Ohana/src/opihi/cmd.data/help/concat
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/concat	(revision 14073)
+++ trunk/Ohana/src/opihi/cmd.data/help/concat	(revision 14175)
@@ -2,7 +2,6 @@
    concat v1 v2
 
-   concatenates the values of vector v2 to the end of vector
-   v1, increasing the length of v1.
+   Concatenates the values of vector v1 to the end of vector
+    v2, increasing the length of v2.
 
    See also: subset, set
-
Index: trunk/Ohana/src/opihi/cmd.data/help/create
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/create	(revision 14073)
+++ trunk/Ohana/src/opihi/cmd.data/help/create	(revision 14175)
@@ -1,7 +1,9 @@
 
-   create vector start end [delta]
+   create (vector) (start) (end) [delta]
 
-   create a vector of uniformly spaced values, starting at
-   start and going to end.  By default the spacing is 1, but
-   may be chosen with the delta option.
+   Create a vector of uniformly spaced values, starting at
+   (start) and going to (end).  By default the spacing is 1, but
+   may be chosen with the [delta] option.
 
+   Note: A vector cannot be created if an image buffer already
+    exists with the same name
Index: trunk/Ohana/src/opihi/cmd.data/help/cumulative
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/cumulative	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/cumulative	(revision 14175)
@@ -0,0 +1,8 @@
+
+
+   cumulative (invec) (outvec)
+
+   Creates a vector (outvec) where the element N is the sum of the elements
+    0-N of (invec)
+
+   Note: The final element of (outvec) is always 0
Index: trunk/Ohana/src/opihi/cmd.data/help/delete
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/delete	(revision 14073)
+++ trunk/Ohana/src/opihi/cmd.data/help/delete	(revision 14175)
@@ -1,5 +1,10 @@
 
-  delete <buffer>
+  delete (buffer/vector/variable)
 
-  delete the named buffer.  Warning: no second chances are given!
+  Delete the named buffer/vector/variable.
 
+  Warning: no second chances are given!
+
+  Note: Delete will remove the buffer/vector of a
+   given name first, then delete the variable of
+   the same name upon the second call.
Index: trunk/Ohana/src/opihi/cmd.data/help/dimendown
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/dimendown	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/dimendown	(revision 14175)
@@ -0,0 +1,7 @@
+
+
+   dimendown (buffer) (vector) [-x/-y]
+
+   Compresses an image into a vector
+
+   The vector can be given either the x or y coordinates of the image
Index: trunk/Ohana/src/opihi/cmd.data/help/dimenup
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/dimenup	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/dimenup	(revision 14175)
@@ -0,0 +1,5 @@
+
+
+   dimenup (vector) (buffer) (Nx) (Ny)
+
+   Expands a vector into an image with dimensions Nx,Ny
Index: trunk/Ohana/src/opihi/cmd.data/help/dot
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/dot	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/dot	(revision 14175)
@@ -0,0 +1,7 @@
+
+
+   dot (x) (y)
+
+   Plots a single point
+
+   Uses the same style options as plot
Index: trunk/Ohana/src/opihi/cmd.data/help/fit
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/fit	(revision 14073)
+++ trunk/Ohana/src/opihi/cmd.data/help/fit	(revision 14175)
@@ -1,4 +1,4 @@
 
-   fit x y order [-dy wt]
+   fit (-q) x y (order) (-dy wt) (-clip sig N)
 
    perform a lease-square polynomial fit to the data defined 
@@ -6,4 +6,10 @@
    $C0, $C1, ..., and the order is placed in $Cn.
 
+   order: order of fit
+   -q: quiets the fit (no output to window)
+   -dy: take into account the error vector wt
+   -clip: remove outliers beyond sig*sigma from the fit;
+           perform N iterations of this
+
    See also: applyfit
 
Index: trunk/Ohana/src/opihi/cmd.data/help/integrate
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/integrate	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/integrate	(revision 14175)
@@ -0,0 +1,10 @@
+
+   integrate (x) (y) (start) (end)
+
+   Perform an integration of (y) as a function of (x) from (start) to (end)
+
+   The result is placed into the variable: $sum
+
+   Caution!: Program uses the front end of each x bin to approximate the integral.
+    Very coarse bins (delta x = 1) over small regions (x=1->5) can introduce
+    errors as large as 20%. Fine bins are reccommended.
Index: trunk/Ohana/src/opihi/cmd.data/help/interpolate
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/interpolate	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/interpolate	(revision 14175)
@@ -0,0 +1,5 @@
+
+   interpolate (xin) (yin) (xout) (yout)
+
+   Performs an interpolation of (xin) and (yin) onto the new grid (xout),
+    producing the corresponding y values in (yout)
Index: trunk/Ohana/src/opihi/cmd.data/help/peak
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/peak	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/peak	(revision 14175)
@@ -0,0 +1,12 @@
+
+   peak [-q] (x) (y) [startx endx]
+
+   Determines the peak of the y vector between starx and endx
+    or between the extrema of the x vector (default)
+
+   -q: quiets the script (no output to the window)
+
+   Outputs:
+    $peakval: Value of the peak
+    $peakpos: X value corresponding to the peak value
+    $peaknum: Index of the peak value
Index: trunk/Ohana/src/opihi/cmd.data/help/periodogram
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/periodogram	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/periodogram	(revision 14175)
@@ -0,0 +1,6 @@
+
+   periodogram (time) (flux) (minP) (maxP) (period) (power)
+
+   creates a periodogram from the vectors (time) and (flux)
+    between (minP) and (maxP) and outputs the results to
+    (period) and (power)
Index: trunk/Ohana/src/opihi/cmd.data/help/queuedelete
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/queuedelete	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/queuedelete	(revision 14175)
@@ -0,0 +1,4 @@
+
+   queuedelete (name)
+
+   Deletes the entire queue (name)
Index: trunk/Ohana/src/opihi/cmd.data/help/queueinit
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/queueinit	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/queueinit	(revision 14175)
@@ -0,0 +1,4 @@
+
+   queueinit (name)
+
+   Creates a queue (name) with an initial size of 0
Index: trunk/Ohana/src/opihi/cmd.data/help/queuepush
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/queuepush	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/queuepush	(revision 14175)
@@ -0,0 +1,8 @@
+
+   queuepush (queue) (value) [-key N] [-uniq] [-replace]
+
+   Pushes (value) onto the back of (queue)
+
+   -key N:
+   -uniq:
+   -replace:
Index: trunk/Ohana/src/opihi/cmd.data/help/queuesize
===================================================================
--- trunk/Ohana/src/opihi/cmd.data/help/queuesize	(revision 14175)
+++ trunk/Ohana/src/opihi/cmd.data/help/queuesize	(revision 14175)
@@ -0,0 +1,5 @@
+
+   queuesize (name) [-var variable]
+
+   Returns the size of the queue (name), either to variable
+    or to the window (default)
