next up previous contents
Next: Displaying an image in Up: Graphics Previous: Graphics for groups in

Setting a viewpoint to a graphic image in 3D

 

tabular2663

The operation sets a viewpoint to a graphic image. It uses two angles and three offsets in the direction of each axis. Although the command is used with a SOM-oriented graphic structure in the following example, it can also be used with any 3D graphic structure.

Example (ex7.29): The example shows how a SOM-oriented graphic structure can be viewed from different angles. On the axis "z" is displayed the weight "chas_w" while the axes "x" and "y" are still spanned according to the grid of the SOM. Then the shape of the neurons is changed to "polygon" for achieving a smoother surface.

...
NDA> somtr -d predata -sout som -l 5
NDA> mkgrp grp1 -s som
NDA> layer grp1 -l 4
NDA> nshape grp1 polygon
...
NDA> viewp grp1 -dz 150 -xy -100 -yz -70
...

figure2671



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