Home > Objects > @iData > label.m

iFit/label

PURPOSE ^

b = label(s, alias, label) : Change iData label for a given alias/axis

SYNOPSIS ^

function labl = label(this, varargin)

DESCRIPTION ^

 b = label(s, alias, label) : Change iData label for a given alias/axis

   @iData/label function to set/get labels
     label(s, alias) returns the current label
     label(s)        returns the object Label
     label(s, rank, label)   sets the object label
   The input iData object is updated if no output argument is specified.

 input:  s: object or array (iData)
         alias: name of the alias or index of the axis (char/numeric)
         label: new label (char/cellstr)
 output: b: object or array (iData)
 ex:     b=label(a,'x','new xlabel'); b=label(a,'x'); b=label(a, 1,'new xlabel');

 Version: Nov. 26, 2018
 See also iData, iData/plot, iData/xlabel, iData/ylabel, iData/zlabel, iDala/clabel

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1