next up previous contents
Next: Removing Labels Up: Labelings Previous: Creating and Destroying a   Contents

Attaching Labels

Once a Labeling is instantiated, we usually want it to actually label something. The Labeling class has a rich set of methods which are enumerated below. For a more complete description of the functionality of each method, please refer to the API documentation.

Hopefully most of these methods are self-explanatory. The only two which require explanation are labelRows() and labelCols(). These methods act similarly to the constructor of the Dataset object. That is, they attempt to intelligently deal with a multitude of data types and do the 'right thing' with each of them. A restriction on their use is that they must contain as many labels as there are rows or columns in the dataset. If the number of labels do not match, the behavior of these functions is undefined.



Lucas Scharenbroich 2003-08-27