SOM Toolbox Online documentation



SOM_SELECT  Manual selection of map units from a visualization.


  Input arguments ([]'s are optional):
   c_vect    (scalar) number of classes 
             (vector) initial class identifiers
             (cell array) of strings, class names
             (matrix) size * x 3, the color of each class
   [plane_h] (scalar) handle of the plane (axes) to be marked. 
                      By default, the current axes is used (GCA).
                      For the function to work, the plot in the 
                      axes must have been created with the
                      SOM_CPLANE function (or SOM_SHOW).
 Launches a GUI which allows user to select nodes from plane by 
 clicking them or by choosing a region (a polygon). 
   Middle mouse button: selects (or clears selection of) a single node
   Left mouse button:   lets user draw a polygon
   Right mouse button:  selects (or clears selection of) the units 
                        inside the polygon
 From the GUI, the color (class) is selected as well as whether
 but buttons select or clear the selection from the units. The
 buttons on the bottom have the following actions: 
   'OK'    Assigns the class identifiers to the 'ans' variable in 
           workspace. The value is an array of class identifiers: 
           strings (cellstr) if the c_vect was an array of
           strings, a vector otherwise.
   'Clear' Removes marks from the plane.
   'Close' Closes the application. 


[ SOM Toolbox online doc ]