next up previous contents
Next: The visibility of the Up: Setting graphics for a Previous: Setting the diameters of

The colors and the gray levels of the neurons

  

tabular2384

The colors of the neurons can be set in two ways. The first command ncolor sets the foreground and background colors by selected parameters. The second command sets the gray level of the background of the neurons based on the values of the neurons' variable given by <field>. The functionality of the last parameter "-rgb" depends on the used environment, but in principle, it should produce a warm map having colors from blue to green and further to red.

Example (ex7.15): The following commands set the gray level of the background of the neurons based on the weight "indus_w".

...
NDA> somtr -d boston -sout s1 -l 5
NDA> mkgrp grp1 -s s1
NDA> layer grp1 -l 3
NDA> ngray grp1 -f s1_W.indus_w
...

figure2394



Erkki Hakkinen
Thu Sep 24 11:51:34 EET DST 1998