next up previous contents
Next: The U-matrix presentation Up: Setting a structure over Previous: Connecting neurons

Creating contours

 

cntr Set a contour
<graphic> name of the graphic structure
-n <name> name of the contour
-f <field> field to be used for neurons
-v <value> value for the contour (elevation)
[-co <color>] color for the contour
[-t <type>] how the contour is drawn
cntr <graphic> -n <name> -rm Remove contour <name>

The operation creates contour lines onto a TS-SOM layer. The contour line is placed based on the values of <field> in neurons and the specified value <value>. The field values in neurons are compared to the specified value, and the line goes through points, in which the interpolated field value between neighboring neurons equals to <value>.

Example (ex7.9): This example shows, how contours can be created. In this case a TS-SOM has been trained with Boston data. Three contours are created to describe the changes of weight rm_w with values 0.2, 0.3 and 0.4 on layer 3.

...
NDA> mkgrp grp1 -s s1
NDA> layer grp1 -l 3
NDA> cntr grp1 -n rm=0.2 -co red -f s1_W.rm_w -v 0.2
NDA> cntr grp1 -n rm=0.3 -co blue -f s1_W.rm_w -v 0.3
NDA> cntr grp1 -n rm=0.4 -co magenta -f s1_W.rm_w -v 0.4

figure3174


next up previous contents
Next: The U-matrix presentation Up: Setting a structure over Previous: Connecting neurons

Anssi Lensu
Tue Jul 23 11:58:18 EET DST 2002