Mercurial > hg > octave-lyh
comparison scripts/plot/plotmatrix.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 | 73d6b71788c0 |
children | 923c7cb7f13f |
comparison
equal
deleted
inserted
replaced
9039:51dc9691f23f | 9040:dbd0c77e575e |
---|---|
20 ## @deftypefn {Function File} {} plotmatrix (@var{x}, @var{y}) | 20 ## @deftypefn {Function File} {} plotmatrix (@var{x}, @var{y}) |
21 ## @deftypefnx {Function File} {} plotmatrix (@var{x}) | 21 ## @deftypefnx {Function File} {} plotmatrix (@var{x}) |
22 ## @deftypefnx {Function File} {} plotmatrix (@dots{}, @var{style}) | 22 ## @deftypefnx {Function File} {} plotmatrix (@dots{}, @var{style}) |
23 ## @deftypefnx {Function File} {} plotmatrix (@var{h}, @dots{}) | 23 ## @deftypefnx {Function File} {} plotmatrix (@var{h}, @dots{}) |
24 ## @deftypefnx {Function File} {[@var{h}, @var{ax}, @var{bigax}, @var{p}, @var{pax}] =} plotmatrix (@dots{}) | 24 ## @deftypefnx {Function File} {[@var{h}, @var{ax}, @var{bigax}, @var{p}, @var{pax}] =} plotmatrix (@dots{}) |
25 ## Scatter plot of the columns of one matrix against another. Given the | 25 ## Scatter plot of the columns of one matrix against another. Given the |
26 ## arguments @var{x} and @var{y}, that have a matching number of rows, | 26 ## arguments @var{x} and @var{y}, that have a matching number of rows, |
27 ## @code{plotmatrix} plots a set of axes corresponding to | 27 ## @code{plotmatrix} plots a set of axes corresponding to |
28 ## | 28 ## |
29 ## @example | 29 ## @example |
30 ## plot (@var{x} (:, i), @var{y} (:, j) | 30 ## plot (@var{x} (:, i), @var{y} (:, j) |
40 ## except that the diagonal of the set of axes will be replaced with the | 40 ## except that the diagonal of the set of axes will be replaced with the |
41 ## histogram @code{hist (@var{x} (:, i))}. | 41 ## histogram @code{hist (@var{x} (:, i))}. |
42 ## | 42 ## |
43 ## The marker to use can be changed with the @var{style} argument, that is a | 43 ## The marker to use can be changed with the @var{style} argument, that is a |
44 ## string defining a marker in the same manner as the @code{plot} | 44 ## string defining a marker in the same manner as the @code{plot} |
45 ## command. If a leading axes handle @var{h} is passed to | 45 ## command. If a leading axes handle @var{h} is passed to |
46 ## @code{plotmatrix}, then this axis will be used for the plot. | 46 ## @code{plotmatrix}, then this axis will be used for the plot. |
47 ## | 47 ## |
48 ## The optional return value @var{h} provides handles to the individual | 48 ## The optional return value @var{h} provides handles to the individual |
49 ## graphics objects in the scatter plots, whereas @var{ax} returns the | 49 ## graphics objects in the scatter plots, whereas @var{ax} returns the |
50 ## handles to the scatter plot axis objects. @var{bigax} is a hidden | 50 ## handles to the scatter plot axis objects. @var{bigax} is a hidden |
51 ## axis object that surrounds the other axes, such that the commands | 51 ## axis object that surrounds the other axes, such that the commands |
52 ## @code{xlabel}, @code{title}, etc, will be associated with this hidden | 52 ## @code{xlabel}, @code{title}, etc, will be associated with this hidden |
53 ## axis. Finally @var{p} returns the graphics objects associated with | 53 ## axis. Finally @var{p} returns the graphics objects associated with |
54 ## the histogram and @var{pax} the corresponding axes objects. | 54 ## the histogram and @var{pax} the corresponding axes objects. |
55 ## | 55 ## |
56 ## @example | 56 ## @example |
57 ## @group | 57 ## @group |
58 ## plotmatrix (randn (100, 3), 'g+') | 58 ## plotmatrix (randn (100, 3), 'g+') |