comparison scripts/plot/plotyy.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 eb63fbe60fab
children d50c3d8efe71
comparison
equal deleted inserted replaced
9039:51dc9691f23f 9040:dbd0c77e575e
20 ## @deftypefn {Function File} {} plotyy (@var{x1}, @var{y1}, @var{x2}, @var{y2}) 20 ## @deftypefn {Function File} {} plotyy (@var{x1}, @var{y1}, @var{x2}, @var{y2})
21 ## @deftypefnx {Function File} {} plotyy (@dots{}, @var{fun}) 21 ## @deftypefnx {Function File} {} plotyy (@dots{}, @var{fun})
22 ## @deftypefnx {Function File} {} plotyy (@dots{}, @var{fun1}, @var{fun2}) 22 ## @deftypefnx {Function File} {} plotyy (@dots{}, @var{fun1}, @var{fun2})
23 ## @deftypefnx {Function File} {} plotyy (@var{h}, @dots{}) 23 ## @deftypefnx {Function File} {} plotyy (@var{h}, @dots{})
24 ## @deftypefnx {Function File} {[@var{ax}, @var{h1}, @var{h2}] =} plotyy (@dots{}) 24 ## @deftypefnx {Function File} {[@var{ax}, @var{h1}, @var{h2}] =} plotyy (@dots{})
25 ## Plots two sets of data with independent y-axes. The arguments @var{x1} and 25 ## Plots two sets of data with independent y-axes. The arguments @var{x1} and
26 ## @var{y1} define the arguments for the first plot and @var{x1} and @var{y2} 26 ## @var{y1} define the arguments for the first plot and @var{x1} and @var{y2}
27 ## for the second. 27 ## for the second.
28 ## 28 ##
29 ## By default the arguments are evaluated with 29 ## By default the arguments are evaluated with
30 ## @code{feval (@@plot, @var{x}, @var{y})}. However the type of plot can be 30 ## @code{feval (@@plot, @var{x}, @var{y})}. However the type of plot can be
31 ## modified with the @var{fun} argument, in which case the plots are 31 ## modified with the @var{fun} argument, in which case the plots are
32 ## generated by @code{feval (@var{fun}, @var{x}, @var{y})}. @var{fun} can be 32 ## generated by @code{feval (@var{fun}, @var{x}, @var{y})}. @var{fun} can be
33 ## a function handle, an inline function or a string of a function name. 33 ## a function handle, an inline function or a string of a function name.
34 ## 34 ##
35 ## The function to use for each of the plots can be independently defined 35 ## The function to use for each of the plots can be independently defined
36 ## with @var{fun1} and @var{fun2}. 36 ## with @var{fun1} and @var{fun2}.
37 ## 37 ##
38 ## If given, @var{h} defines the principal axis in which to plot the @var{x1} 38 ## If given, @var{h} defines the principal axis in which to plot the @var{x1}
39 ## and @var{y1} data. The return value @var{ax} is a two element vector with 39 ## and @var{y1} data. The return value @var{ax} is a two element vector with
40 ## the axis handles of the two plots. @var{h1} and @var{h2} are handles to 40 ## the axis handles of the two plots. @var{h1} and @var{h2} are handles to
41 ## the objects generated by the plot commands. 41 ## the objects generated by the plot commands.
42 ## 42 ##
43 ## @example 43 ## @example
44 ## @group 44 ## @group
45 ## x = 0:0.1:2*pi; 45 ## x = 0:0.1:2*pi;