Clear hit marks, labels or trajectories created by SOM_SHOW_ADD
from the current figure.
The function SOM_SHOW_ADD creates some markers on the top of
visualizations made by SOM_SHOW. These objects may be removed using
SOM_SHOW_CLEAR even if the object handles are not known. The function
removes the objects based on certain tags written to the 'Tag' property
field of the objects.
If the function if called without input arguments it searches for
every object in the current figure that have string
'Hit','Lab','Traj' or 'Comet' in their Tag property field and
If input argument p is not specified, the function does not check that the
figure is created by function SOM_SHOW.
Optional input arguments
type (string) Which type of markers to delete
'Hit' for removing hit marks
'Traj' line trajectories
'Comet' comet trajectories
'All' all (the default)
Strings are case insensitive.
p (vector) Subplots from which the markers are removed
Specifies the subplots from which the markers are removed.
The valid values are 1...N where N is the number of subplots.
It is required that the figure has been created by
the SOM_SHOW function.
% deletes all labels, hit marks and trajectories in the figure
% deletes all the hit marks in the current figure
% deletes labels in SOM_SHOW figure subplots 1 and 2.
|| Basic map visualizations: component planes, u-matrix etc.
|| Show hits, labels and trajectories on SOM_SHOW visualization.