viewxyz#

Purpose#

To set the position of the observer in plot coordinates for 3-D plots.

Note

This function is for the deprecated PQG graphics.

Library#

pgraph

Format#

viewxyz(x, y, z)#
Parameters:
  • x (scalar) – the X position in plot coordinates.

  • y (scalar) – the Y position in plot coordinates.

  • z (scalar) – the Z position in plot coordinates.

Remarks#

The viewer MUST be outside of the workbox. The closer the observer, the more perspective distortion there will be.

If viewxyz() is not called, a default position will be calculated.

Use view() to locate the observer in workbox units.

Source#

pgraph.src

See also

Functions volume(), view()