comparison scripts/plot/ezplot.m @ 9040:dbd0c77e575e

Cleanup documentation file plot.texi Spellcheck Stylecheck (Mostly double spaces after periods)
author Rik <rdrider0-list@yahoo.com>
date Sun, 22 Mar 2009 14:40:24 -0700
parents c4482fc30c7f
children 16f53d29049f
comparison
equal deleted inserted replaced
9039:51dc9691f23f 9040:dbd0c77e575e
22 ## @deftypefnx {Function File} {} ezplot (@dots{}, @var{dom}) 22 ## @deftypefnx {Function File} {} ezplot (@dots{}, @var{dom})
23 ## @deftypefnx {Function File} {} ezplot (@dots{}, @var{n}) 23 ## @deftypefnx {Function File} {} ezplot (@dots{}, @var{n})
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 ##
37 ## @example 37 ## @example
38 ## ezplot (@@(@var{x}, @var{y}) @var{x} .^ 2 - @var{y} .^ 2 - 1) 38 ## ezplot (@@(@var{x}, @var{y}) @var{x} .^ 2 - @var{y} .^ 2 - 1)
39 ## @end example 39 ## @end example
40 ## 40 ##
50 ## 50 ##
51 ## is plotted over the domain @code{-2*pi < @var{t} < 2*pi} with 500 51 ## is plotted over the domain @code{-2*pi < @var{t} < 2*pi} with 500
52 ## points. 52 ## points.
53 ## 53 ##
54 ## If @var{dom} is a two element vector, it represents the minimum and maximum 54 ## If @var{dom} is a two element vector, it represents the minimum and maximum
55 ## value of @var{x}, @var{y} and @var{t}. If it is a four element 55 ## value of @var{x}, @var{y} and @var{t}. If it is a four element
56 ## vector, then the minimum and maximum values of @var{x} and @var{t} 56 ## vector, then the minimum and maximum values of @var{x} and @var{t}
57 ## are determined by the first two elements and the minimum and maximum 57 ## are determined by the first two elements and the minimum and maximum
58 ## of @var{y} by the second pair of elements. 58 ## of @var{y} by the second pair of elements.
59 ## 59 ##
60 ## @var{n} is a scalar defining the number of points to use in plotting 60 ## @var{n} is a scalar defining the number of points to use in plotting