view

Purpose

Sets the position of the observer in workbox units for 3-D plots.

Note

This function is for the deprecated PQG graphics.

Library

pgraph

Format

view(x, y, z)
Parameters:
  • x (scalar) – the X position in workbox units.

  • y (scalar) – the Y position in workbox units.

  • z (scalar) – the Z position in workbox units.

Remarks

The size of the workbox is set with volume(). The viewer MUST be outside of the workbox. The closer the position of the observer, the more perspective distortion there will be. If \(x = y = z\), the projection will be isometric.

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

Use viewxyz() to locate the observer in plot coordinates.

Source

pgraph.src

See also

Functions volume(), viewxyz()