changeset 6592:8899e24ae362

[project @ 2007-04-27 04:11:48 by jwe]
author jwe
date Fri, 27 Apr 2007 04:11:48 +0000
parents fc0218995ee7
children 3da1f4a41455
files scripts/plot/contourc.m
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/contourc.m	Fri Apr 27 02:17:34 2007 +0000
+++ b/scripts/plot/contourc.m	Fri Apr 27 04:11:48 2007 +0000
@@ -41,8 +41,17 @@
 ## value is wanted, set @code{@var{vn} = [val, val]};
 ## If @var{vn} is omitted it defaults to 10.
 ##
+## For example,
 ## @example
-## c = contourc (x, y, z, linspace (0, 2*pi, 10));
+## @group
+## x = 0:2;
+## y = x;
+## z = x' * y;
+## contourc (x, y, z, 2:3)
+##      @result{}   2.0000   2.0000   1.0000   3.0000   1.5000   2.0000
+##      2.0000   1.0000   2.0000   2.0000   2.0000   1.5000
+##
+## @end group
 ## @end example
 ## @seealso{contour}
 ## @end deftypefn