changeset 16951:a7c9be4a2c0f

fplot.m: Fix bad texinfo in docstring for changeset b34202b24212. * scripts/plot/fplot.m: use '@@' to generate '@'. Add missing '}' in @code macro.
author Rik <rik@octave.org>
date Thu, 11 Jul 2013 09:30:32 -0700
parents b34202b24212
children 3c20fb2aa419
files scripts/plot/fplot.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/fplot.m	Thu Jul 11 09:25:54 2013 -0700
+++ b/scripts/plot/fplot.m	Thu Jul 11 09:30:32 2013 -0700
@@ -42,13 +42,13 @@
 ##
 ## With no output arguments the results are immediately plotted.  With two
 ## output arguments the 2-D plot data is returned.  The data can subsequently
-## be plotted manually with @code{plot (@var{x}, @var{y}).
+## be plotted manually with @code{plot (@var{x}, @var{y})}.
 ##
 ## Example:
 ##
 ## @example
 ## @group
-## fplot (@cos, [0, 2*pi])
+## fplot (@@cos, [0, 2*pi])
 ## fplot ("[cos(x), sin(x)]", [0, 2*pi])
 ## @end group
 ## @end example