diff scripts/plot/cylinder.m @ 7245:d65670971cbc

[project @ 2007-12-04 03:03:54 by jwe]
author jwe
date Tue, 04 Dec 2007 03:03:55 +0000
parents dd88d61d443f
children dbd0c77e575e
line wrap: on
line diff
--- a/scripts/plot/cylinder.m
+++ b/scripts/plot/cylinder.m
@@ -81,3 +81,8 @@
   endif
 
 endfunction
+
+%!demo
+%! disp ("plotting a cone")
+%! [x, y, z] = cylinder (10:-1:0,50);
+%! surf (x, y, z);