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: Aug. 22, 2017
 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 Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1