next up previous contents
Next: Setting the topology and Up: Setting a structure over Previous: Setting a structure over

Setting the visualized layer

 

layer Set the layer of TS-SOM
<graphic> name of the graphic structure
-l <layer> index of the layer
[-min <min>] starting layer

This command sets the layer of TS-SOM to be displayed. Also several layers can be displayed simultaneously. The starting layer <min> defines the first layer, while the last is defined by <layer>. To display only one layer, <min> can be omitted. The starting layer can be kept the same as previously by specifying -1 as <min>.

Example (ex7.4): The first example demonstrates the basic setting of the visualized layer. You can see the result in the left-hand side figure below.

...
NDA> mkgrp grp1 -s som1
NDA> layer grp1 -l 3

Example (ex7.5): The second example shows how several layers of TS-SOM can be displayed simultaneously. In this case the layer indexes of TS-SOM must be first stored into a field using somlayer (see section 5.1.4), and the locations of the neurons are set according to the values of this somlayer field. The layers 0-3 are displayed.

...
NDA> somtr -d predata -sout som1 -l 4
...
NDA> somlayer -s som1 -f somlayer
...
NDA> mkgrp grp1 -s som1
NDA> axis grp1 -ax z -f somlayer -sca abs -min 0 -max 5
NDA> nplc grp1 -ax z -f somlayer
NDA> layer grp1 -l 3 -min 0
NDA> viewp grp1 -dz 150 -xy -100 -yz 85
NDA> show grp1

figure2693



Anssi Lensu
Wed Oct 6 12:57:48 EET DST 1999