changeset 12129:80fc70a53400

cylinder.m: Remove console output from demo.
author Ben Abbott <bpabbott@mac.com>
date Sat, 22 Jan 2011 10:02:12 -0500
parents e916491cbb99
children 3229572cbe23
files scripts/ChangeLog scripts/plot/cylinder.m
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-22  Ben Abbott  <bpabbott@mac.com>
+
+	* plot/cylinder.m: Remove console output from demo.
+
 2011-01-22  Konstantinos Poulios  <logari81@googlemail.com>
 
 	* plot/plotyy.m: Set box property to off to allow both y-axes colors
--- a/scripts/plot/cylinder.m
+++ b/scripts/plot/cylinder.m
@@ -38,9 +38,9 @@
 ##
 ## @example
 ## @group
-## disp ("plotting a cone")
 ## [x, y, z] = cylinder (10:-1:0,50);
 ## surf (x, y, z);
+## title ("a cone")
 ## @end group
 ## @end example
 ## @seealso{sphere}
@@ -86,6 +86,6 @@
 endfunction
 
 %!demo
-%! disp ("plotting a cone")
 %! [x, y, z] = cylinder (10:-1:0,50);
 %! surf (x, y, z);
+%! title ("a cone")