Mercurial > hg > octave-nkf
changeset 18492:cb377af34c00
qqplot.m: Plot points as well as connecting line.
* qqplot.m: Plot points as well as connecting line.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 02 Feb 2014 22:21:45 -0800 |
parents | 1597281144e4 |
children | 07ca8b9f8cab |
files | scripts/statistics/base/qqplot.m |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/statistics/base/qqplot.m +++ b/scripts/statistics/base/qqplot.m @@ -62,7 +62,7 @@ print_usage (); endif - if (!(isnumeric (x) && isvector (x))) + if (! (isnumeric (x) && isvector (x))) error ("qqplot: X must be a numeric vector"); endif @@ -97,7 +97,7 @@ endif if (nargout == 0) - plot (q, s); + plot (q, s, "-x"); q_label = strrep (q_label, '_inv', '\_inv'); if (q_label(1) == '@') q_label = q_label(6:end); # Strip "@(y) " from anon. function @@ -111,4 +111,3 @@ endfunction -