Home > Applications > Horace > @sqw > IX_dataset_2d.m

iFit/IX_dataset_2d

PURPOSE ^

Create IX_dataset_2d object

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Create IX_dataset_2d object

   >> w = IX_dataset_2d (x,y)
   >> w = IX_dataset_2d (x,y,signal)
   >> w = IX_dataset_2d (x,y,signal,error)
   >> w = IX_dataset_2d (x,y,signal,error,title,x_axis,y_axis,s_axis)
   >> w = IX_dataset_2d (x,y,signal,error,title,x_axis,y_axis,s_axis,x_distribution,y_distribution)
   >> w = IX_dataset_2d (title, signal, error, s_axis, x, x_axis, x_distribution, y, y_axis, y_distribution)

  Creates an IX_dataset_2d object with the following elements:

     title                char/cellstr    Title of dataset for plotting purposes (character array or cellstr)
     signal              double          Signal (2D array)
     error                                Standard error (2D array)
     s_axis                IX_axis            Signal axis object containing caption and units codes
                   (or char/cellstr    Can also just give caption; multiline input in the form of a
                                      cell array or a character array)
     x                    double          Values of bin boundaries (if histogram data)
                                         Values of data point positions (if point data)
     x_axis                IX_axis            x-axis object containing caption and units codes
                   (or char/cellstr    Can also just give caption; multiline input in the form of a
                                      cell array or a character array)
     x_distribution      logical         Distribution data flag (true is a distribution; false otherwise)

   y                   double          -|
   y_axis              IX_axis          |- same as above but for y-axis
   y_distribution      logical         -|

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