diff scripts/plot/surfc.m @ 17120: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 1118d566bcd4
children d4549655b92e
line wrap: on
line diff
--- a/scripts/plot/surfc.m	Wed Jul 31 13:31:01 2013 -0700
+++ b/scripts/plot/surfc.m	Wed Jul 31 13:43:44 2013 -0700
@@ -90,7 +90,7 @@
 %!demo
 %! clf;
 %! colormap ('default');
-%! [~,~,Z] = sombrero ();
+%! Z = sombrero ();
 %! [Fx,Fy] = gradient (Z);
 %! surfc (Z, Fx+Fy);
 %! shading interp;