comparison scripts/plot/scatter.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 d65670971cbc
children 16f53d29049f
comparison
equal deleted inserted replaced
9039:51dc9691f23f 9040:dbd0c77e575e
22 ## @deftypefnx {Function File} {} scatter (@dots{}, @var{style}) 22 ## @deftypefnx {Function File} {} scatter (@dots{}, @var{style})
23 ## @deftypefnx {Function File} {} scatter (@dots{}, @var{prop}, @var{val}) 23 ## @deftypefnx {Function File} {} scatter (@dots{}, @var{prop}, @var{val})
24 ## @deftypefnx {Function File} {} scatter (@var{h}, @dots{}) 24 ## @deftypefnx {Function File} {} scatter (@var{h}, @dots{})
25 ## @deftypefnx {Function File} {@var{h} =} scatter (@dots{}) 25 ## @deftypefnx {Function File} {@var{h} =} scatter (@dots{})
26 ## 26 ##
27 ## Plot a scatter plot of the data. A marker is ploted at each point 27 ## Plot a scatter plot of the data. A marker is plotted at each point
28 ## defined by the points in the vectors @var{x} and @var{y}. The size of 28 ## defined by the points in the vectors @var{x} and @var{y}. The size of
29 ## the markers used is determined by the @var{s}, which can be a scalar, 29 ## the markers used is determined by the @var{s}, which can be a scalar,
30 ## a vector of the same length of @var{x} and @var{y}. If @var{s} is not 30 ## a vector of the same length of @var{x} and @var{y}. If @var{s} is not
31 ## given or is an empty matrix, then the default value of 8 points is used. 31 ## given or is an empty matrix, then the default value of 8 points is used.
32 ## 32 ##
33 ## The color of the markers is determined by @var{c}, which can be a string 33 ## The color of the markers is determined by @var{c}, which can be a string
34 ## defining a fixed color, a 3 element vector giving the red, green and blue 34 ## defining a fixed color, a 3 element vector giving the red, green and blue
35 ## components of the color, a vector of the same length as @var{x} that gives 35 ## components of the color, a vector of the same length as @var{x} that gives
36 ## a scaled index into the current colormap, or a @var{n}-by-3 matrix defining 36 ## a scaled index into the current colormap, or a @var{n}-by-3 matrix defining
37 ## the colors of each of the markers individually. 37 ## the colors of each of the markers individually.
38 ## 38 ##
39 ## The marker to use can be changed with the @var{style} argument, that is a 39 ## The marker to use can be changed with the @var{style} argument, that is a
40 ## string defining a marker in the same manner as the @code{plot} command. 40 ## string defining a marker in the same manner as the @code{plot} command.
41 ## If the argument 'filled' is given then the markers as filled. All 41 ## If the argument 'filled' is given then the markers as filled. All
42 ## additional arguments are passed to the underlying patch command. 42 ## additional arguments are passed to the underlying patch command.
43 ## 43 ##
44 ## The optional return value @var{h} provides a handle to the patch object 44 ## The optional return value @var{h} provides a handle to the patch object
45 ## 45 ##
46 ## @example 46 ## @example