view
Set or query the camera view angle.
Syntax
Section titled “Syntax”view(az, el)view([az el])view(2)view(3)[az, el] = viewDescription
Section titled “Description”Sets the camera azimuth and elevation (degrees). Convenience values: view(2) for top-down 2D view, view(3) for default 3D view (azimuth -37.5°, elevation 30°). Without arguments, returns the current view as [az el].
Examples
Section titled “Examples”view(3) % standard 3Dview(0, 90) % top-downview(180, 0) % from behind, edge-on