Mercurial > octave-antonio
comparison scripts/plot/ezplot.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 | fd0a3ac60b0e |
children | 5f0bb45e615c |
comparison
equal
deleted
inserted
replaced
11586:12df7854fa7c | 11587:c792872f8942 |
---|---|
24 ## @deftypefnx {Function File} {} ezplot (@var{h}, @dots{}) | 24 ## @deftypefnx {Function File} {} ezplot (@var{h}, @dots{}) |
25 ## @deftypefnx {Function File} {@var{h} =} ezplot (@dots{}) | 25 ## @deftypefnx {Function File} {@var{h} =} ezplot (@dots{}) |
26 ## | 26 ## |
27 ## Plots in two-dimensions the curve defined by @var{f}. The function | 27 ## Plots in two-dimensions the curve defined by @var{f}. The function |
28 ## @var{f} may be a string, inline function or function handle and can | 28 ## @var{f} may be a string, inline function or function handle and can |
29 ## have either one or two variables. If @var{f} has one variable, then | 29 ## have either one or two variables. If @var{f} has one variable, then |
30 ## the function is plotted over the domain @code{-2*pi < @var{x} < 2*pi} | 30 ## the function is plotted over the domain @code{-2*pi < @var{x} < 2*pi} |
31 ## with 500 points. | 31 ## with 500 points. |
32 ## | 32 ## |
33 ## If @var{f} has two variables then @code{@var{f}(@var{x},@var{y}) = 0} | 33 ## If @var{f} has two variables then @code{@var{f}(@var{x},@var{y}) = 0} |
34 ## is calculated over the meshed domain @code{-2*pi < @var{x} | @var{y} | 34 ## is calculated over the meshed domain @code{-2*pi < @var{x} | @var{y} |
35 ## < 2*pi} with 60 by 60 in the mesh. For example: | 35 ## < 2*pi} with 60 by 60 in the mesh. For example: |
36 ## | 36 ## |
48 ## @end group | 48 ## @end group |
49 ## @end example | 49 ## @end example |
50 ## | 50 ## |
51 ## @noindent | 51 ## @noindent |
52 ## is plotted over the domain @code{-2*pi < @var{t} < 2*pi} with 500 | 52 ## is plotted over the domain @code{-2*pi < @var{t} < 2*pi} with 500 |
53 ## points. | 53 ## points. |
54 ## | 54 ## |
55 ## If @var{dom} is a two element vector, it represents the minimum and maximum | 55 ## If @var{dom} is a two element vector, it represents the minimum and maximum |
56 ## value of @var{x}, @var{y} and @var{t}. If it is a four element | 56 ## value of @var{x}, @var{y} and @var{t}. If it is a four element |
57 ## vector, then the minimum and maximum values of @var{x} and @var{t} | 57 ## vector, then the minimum and maximum values of @var{x} and @var{t} |
58 ## are determined by the first two elements and the minimum and maximum | 58 ## are determined by the first two elements and the minimum and maximum |
59 ## of @var{y} by the second pair of elements. | 59 ## of @var{y} by the second pair of elements. |
60 ## | 60 ## |
61 ## @var{n} is a scalar defining the number of points to use in plotting | 61 ## @var{n} is a scalar defining the number of points to use in plotting |
62 ## the function. | 62 ## the function. |
63 ## | 63 ## |
64 ## The optional return value @var{h} provides a list of handles to the | 64 ## The optional return value @var{h} provides a list of handles to the |
65 ## the line objects plotted. | 65 ## the line objects plotted. |
66 ## | 66 ## |
67 ## @seealso{plot, ezplot3} | 67 ## @seealso{plot, ezplot3} |
68 ## @end deftypefn | 68 ## @end deftypefn |
69 | 69 |