changeset 17130:7649779e6ebd

sombrero.m: Fix typo in cset a639221f9863 stopping output when nargout == 1. * scripts/plot/sombrero.m: When nargout==1, assign first output (x) to z.
author Rik <rik@octave.org>
date Wed, 31 Jul 2013 16:23:53 -0700
parents bcada0a4f8a7
children b5d6314314fc
files scripts/plot/sombrero.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/sombrero.m
+++ b/scripts/plot/sombrero.m
@@ -66,7 +66,7 @@
   if (nargout == 0)
     surf (tx, ty, tz);
   elseif (nargout == 1)
-    z = tz;
+    x = tz;
   else
     x = tx;
     y = ty;