Navigation

Operators and Keywords

Function List:

C++ API

: view (azimuth, elevation)
: view ([azimuth elevation])
: view ([x y z])
: view (2)
: view (3)
: view (hax, …)
: [azimuth, elevation] = view ()

Query or set the viewpoint for the current axes.

The parameters azimuth and elevation can be given as two arguments or as 2-element vector. The viewpoint can also be specified with Cartesian coordinates x, y, and z.

The call view (2) sets the viewpoint to azimuth = 0 and elevation = 90, which is the default for 2-D graphs.

The call view (3) sets the viewpoint to azimuth = -37.5 and elevation = 30, which is the default for 3-D graphs.

If the first argument hax is an axes handle, then operate on this axis rather than the current axes returned by gca.

If no inputs are given, return the current azimuth and elevation.

Package: octave