# HG changeset patch # User Rik # Date 1391408505 28800 # Node ID cb377af34c00e65ac7a01fbe94399bdd72251d70 # Parent 1597281144e4cbaa3956bbe82659183b112c4716 qqplot.m: Plot points as well as connecting line. * qqplot.m: Plot points as well as connecting line. diff --git a/scripts/statistics/base/qqplot.m b/scripts/statistics/base/qqplot.m --- 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 -