Assigning Labels and Axisscales

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Assigning labels and axisscales in a DataSet Object is similar to assigning classes. You can assign them from the Data Set Editor or command line.

From DataSet Editor

Labels Tab

In the Row Labels and Column Labels tabs of the DataSet Editor you'll find columns for editing labels, axisscales, classes, and included data. There are several ways of editing these columns:

  • Directly editing each "cell" with a value. Select a particular cell and enter the desired value.

Right-click the header button to display the context menu to access these items:

  • Copy/Paste the entire column of values from the clipboard (Copy or Paste menu item).
  • Import the values from a variable in the workspace (via Load/Extract Label menu item).
  • Edit text list (directly or copy/paste) from a list box (via Edit Label menu item).

NOTE: Additional "sets" of labels and axisscales can be added using the drop-down menus directly below the header buttons.

DSE Labels RightClickMenu.png

Data Tab

Values from the DataSet Editor data table can be extracted into axiscales. This option is available from the column/row right-click menu in the data table.

DSE Data RightClickMenu.png


From Command Line

Labels and axisscales can be assigned directly to a DataSet Object at the command line using their respective fields. The following is simple example using the Wine demo dataset. We'll reassign less abreviated country labels:

load wine
wine.label{1}
wine.label{1,1} = { 'France' 'Italy' 'Switzerland' 'Australia' 'Britain' 'U.S.A.' 'Russia' 'Czech' 'Japan' 'Mexico' };
wine.label{1}


More example can be found here.