Mercurial > octave-nkf
comparison scripts/plot/slice.m @ 10821:693e22af08ae
Grammarcheck documentation of m-files
Add newlines between @item fields for readability.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 26 Jul 2010 21:25:36 -0700 |
parents | be55736a0783 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
10820:c44c786f87ba | 10821:693e22af08ae |
---|---|
40 ## @var{Method} is one of: | 40 ## @var{Method} is one of: |
41 ## | 41 ## |
42 ## @table @code | 42 ## @table @code |
43 ## @item "nearest" | 43 ## @item "nearest" |
44 ## Return the nearest neighbor. | 44 ## Return the nearest neighbor. |
45 ## | |
45 ## @item "linear" | 46 ## @item "linear" |
46 ## Linear interpolation from nearest neighbors. | 47 ## Linear interpolation from nearest neighbors. |
48 ## | |
47 ## @item "cubic" | 49 ## @item "cubic" |
48 ## Cubic interpolation from four nearest neighbors (not implemented yet). | 50 ## Cubic interpolation from four nearest neighbors (not implemented yet). |
51 ## | |
49 ## @item "spline" | 52 ## @item "spline" |
50 ## Cubic spline interpolation---smooth first and second derivatives | 53 ## Cubic spline interpolation---smooth first and second derivatives |
51 ## throughout the curve. | 54 ## throughout the curve. |
52 ## @end table | 55 ## @end table |
53 ## | 56 ## |
54 ## The default method is @code{"linear"}. | 57 ## The default method is @code{"linear"}. |
55 ## The optional return value @var{h} is a vector of handles to the | 58 ## The optional return value @var{h} is a vector of handles to the |
56 ## surface graphic objects. | 59 ## surface graphic objects. |
57 ## | 60 ## |
58 ## Examples: | 61 ## Examples: |
62 ## | |
59 ## @example | 63 ## @example |
60 ## @group | 64 ## @group |
61 ## [x, y, z] = meshgrid (linspace (-8, 8, 32)); | 65 ## [x, y, z] = meshgrid (linspace (-8, 8, 32)); |
62 ## v = sin (sqrt (x.^2 + y.^2 + z.^2)) ./ (sqrt (x.^2 + y.^2 + z.^2)); | 66 ## v = sin (sqrt (x.^2 + y.^2 + z.^2)) ./ (sqrt (x.^2 + y.^2 + z.^2)); |
63 ## slice (x, y, z, v, [], 0, []); | 67 ## slice (x, y, z, v, [], 0, []); |