next up previous contents
Next: Graphics for groups in Up: Graphics Previous: Record labels in subgraphs

Colors and scaling

  

colors

The basic colors listed below are handled as names. In addition, some operations use gray levels which are coded by values between 0 and 255.

tabular2625

Example: For instance, the following commands use colors.

...
NDA> bar grp1 -f crim -co red
NDA> gcolor grp1 -cl g1 -co red
...

scaling

tabular2636

The scaling plays a key role when values from data frames are converted to the features of the graphical objects. Five functions for scaling values are listed above. The first three functions concern any type of the graphic structure, "som" and "som2" work only with the SOM-oriented graphic structure.

Example (ex7.27a-c): The following commands demonstrate briefly the use of the scaling.

...
NDA> mkgrp grp1 -s s1
NDA> setgdat grp1 -d stadata
# default scaling is typically "data"
NDA> bar grp1 -f stadata.crim_avg -co red
# find the range of the field inside the current layer of the TS-SOM
NDA> bar grp1 -f stadata.crim_avg -co red -sca som
# similar to the previous command but skip empty neurons
NDA> bar grp1 -f stadata.crim_avg -co red -sca som2
...



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