Mercurial > hg > octave-lyh
changeset 17125:d4549655b92e
Rephrase %!tests to take advantage of single output form of peaks().
* scripts/plot/pcolor.m, scripts/plot/surf.m, scripts/plot/surfc.m,
scripts/plot/waterfall.m: Rephrase %!tests to take advantage of single output
form of peaks().
author | Rik <rik@octave.org> |
---|---|
date | Wed, 31 Jul 2013 13:49:06 -0700 |
parents | a639221f9863 |
children | eaab03308c0b |
files | scripts/plot/pcolor.m scripts/plot/surf.m scripts/plot/surfc.m scripts/plot/waterfall.m |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/pcolor.m +++ b/scripts/plot/pcolor.m @@ -102,7 +102,7 @@ %!demo %! clf; %! colormap ('default'); -%! [~,~,Z] = peaks (); +%! Z = peaks (); %! pcolor (Z); %!demo
--- a/scripts/plot/surf.m +++ b/scripts/plot/surf.m @@ -70,7 +70,7 @@ %!demo %! clf; %! colormap ('default'); -%! [~,~,Z] = peaks (); +%! Z = peaks (); %! surf (Z); %!demo