viewp | Set a viewpoint to a graphic image |
<graphic> | name of the graphic structure |
-xy <xy-angle> | angle in the xy plane (degrees) |
-yz <yz-angle> | angle in the yz plane (degrees) |
-dx <dx> | offset in the x direction |
-dy <dy> | offset in the y direction |
-dz <dz> | distance in the z direction, default=100 |
This 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): This example shows how a SOM-oriented graphic structure can be viewed from different angles. Axis z is used for displaying the weight chas_w while the axes x and y are spanned according to the grid of the SOM. The shape of the neurons is changed to polygon to achieve 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