comparison scripts/plot/view.m @ 11587:c792872f8942

all script files: untabify and strip trailing whitespace
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:35:29 -0500
parents 5c18da80e28a
children 68ac95d2460c
comparison
equal deleted inserted replaced
11586:12df7854fa7c 11587:c792872f8942
21 ## @deftypefnx {Function File} {} view (@var{azimuth}, @var{elevation}) 21 ## @deftypefnx {Function File} {} view (@var{azimuth}, @var{elevation})
22 ## @deftypefnx {Function File} {} view ([@var{azimuth}, @var{elevation}]) 22 ## @deftypefnx {Function File} {} view ([@var{azimuth}, @var{elevation}])
23 ## @deftypefnx {Function File} {} view ([@var{x}, @var{y}, @var{z}]) 23 ## @deftypefnx {Function File} {} view ([@var{x}, @var{y}, @var{z}])
24 ## @deftypefnx {Function File} {} view (@var{dims}) 24 ## @deftypefnx {Function File} {} view (@var{dims})
25 ## @deftypefnx {Function File} {} view (@var{ax}, @dots{}) 25 ## @deftypefnx {Function File} {} view (@var{ax}, @dots{})
26 ## Query or set set the viewpoint for the current axes. The parameters 26 ## Query or set set the viewpoint for the current axes. The parameters
27 ## @var{azimuth} and @var{elevation} can be given as two arguments or as 27 ## @var{azimuth} and @var{elevation} can be given as two arguments or as
28 ## 2-element vector. 28 ## 2-element vector.
29 ## The viewpoint can also be given with Cartesian coordinates @var{x}, 29 ## The viewpoint can also be given with Cartesian coordinates @var{x},
30 ## @var{y}, and @var{z}. 30 ## @var{y}, and @var{z}.
31 ## The call @code{view (2)} sets the viewpoint to @var{azimuth} = 0 31 ## The call @code{view (2)} sets the viewpoint to @var{azimuth} = 0
32 ## and @var{elevation} = 90, which is the default for 2-D graphs. 32 ## and @var{elevation} = 90, which is the default for 2-D graphs.
33 ## The call @code{view (3)} sets the viewpoint to @var{azimuth} = -37.5 33 ## The call @code{view (3)} sets the viewpoint to @var{azimuth} = -37.5
34 ## and @var{elevation} = 30, which is the default for 3-D graphs. 34 ## and @var{elevation} = 30, which is the default for 3-D graphs.
35 ## If @var{ax} is given, the viewpoint is set for this axes, otherwise 35 ## If @var{ax} is given, the viewpoint is set for this axes, otherwise