diff scripts/plot/ribbon.m @ 17124:a639221f9863

sombrero.m: Overhaul documentation and make calling forms equivalent to peaks() * scripts/plot/sombrero.m: Overhaul documentation. Return only Z argument if nargout == 1. * scripts/plot/ribbon.m, scripts/plot/surf.m, scripts/plot/surfc.m: Rephrase %!tests to take advantage of new calling form for sombrero.
author Rik <rik@octave.org>
date Wed, 31 Jul 2013 13:43:44 -0700
parents f8b485d09ac6
children eaab03308c0b
line wrap: on
line diff
--- a/scripts/plot/ribbon.m
+++ b/scripts/plot/ribbon.m
@@ -113,7 +113,7 @@
 %! clf;
 %! colormap ('default');
 %! [x, y, z] = sombrero ();
-%! [x, y] = meshgrid (x, y);
+%! [~, y] = meshgrid (x, y);
 %! ribbon (y, z);
 
 %!FIXME: Could have some input validation tests here