Home > Applications > Horace > @d2d > section.m

iFit/section

PURPOSE ^

Takes a section out of a 2-dimensional dataset.

SYNOPSIS ^

function wout = section (win, varargin)

DESCRIPTION ^

 Takes a section out of a 2-dimensional dataset.

 Syntax:
   >> wout = section (win, [ax_1_lo, ax_1_hi], [ax_2_lo, ax_2_hi])

 Input:
 ------
   win                 2-dimensional dataset.

   [ax_1_lo, ax_1_hi]  Lower and upper limits for the first axis. Bins are retained whose
                      centres lie in this range.
                       To retain the limits of the input structure, type '', [], or the scalar '0'

   [ax_2_lo, ax_2_hi]  Lower and upper limits for the second axis


 Output:
 -------
   wout                Output dataset.


 Example: to alter the limits of the first axis:
   >> wout = section (win, [1.9,2.1], 0)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1