nshape | Set the shape of the neurons |
<graphic> | name of the graphic structure |
<shape> | Chosen shape: rectangle | polygon | circle |
[-expr <expr>;] | a boolean expression |
This operation selects the shape of the subgraphs for neurons. polygon is different from rectangle in the aspect that neurons are always connected to each other and only the center of each neuron is located at the chosen z axis location. Borders of polygons attempt to interpolate the z values of neighbor neurons. If the boolean expression is given, then the shape is changed only in those neurons in which the truth value is true.
Example (ex7.37): An organized TS-SOM is displayed with three types of neurons. Choice rectangle is the default value. The last command sets the shape conditionally according to the rule.
... NDA> mkgrp grp1 -s s1 NDA> layer grp1 -l 2 NDA> nshape grp1 rectangle NDA> nshape grp1 circle NDA> nshape grp1 polygon NDA> nshape grp1 circle -expr 'sta.crim_avg' < 1; ...