[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plot docs
From: |
Søren Hauberg |
Subject: |
Re: plot docs |
Date: |
Fri, 14 Sep 2007 11:43:05 +0200 |
User-agent: |
Thunderbird 1.5.0.13 (X11/20070824) |
John W. Eaton skrev:
I've updated the plotting chapter in the manual, and made a number of
changes to the doc strings for plot functions. I know it is not
perfect or completely comprehensive, but I think it is better than it
was before. Please take a look and send patches or *specific*
suggestions if you notice problems.
It seems that @xref is being used to reference figures, which result in
text like:
"...shown in See Figure 15.3"
Attached patch changes some @xref's to @ref's, which changes to above
text to
"...shown in Figure 15.3"
Søren
Index: plot.txi
===================================================================
RCS file: /cvs/octave/doc/interpreter/plot.txi,v
retrieving revision 1.28
diff -u -r1.28 plot.txi
--- plot.txi 13 Sep 2007 07:36:52 -0000 1.28
+++ plot.txi 14 Sep 2007 09:41:03 -0000
@@ -44,7 +44,7 @@
@end example
@noindent
-displays a sine wave shown in @xref{fig:plot}. On most systems, this
+displays a sine wave shown in @ref{fig:plot}. On most systems, this
command will open a separate plot window to display the graph.
@float Figure,fig:plot
@@ -91,7 +91,7 @@
@noindent
produces the histogram of 10,000 normally distributed random numbers
-shown in @xref{fig:hist}.
+shown in @ref{fig:hist}.
@float Figure,fig:hist
@image{hist,8cm}
@@ -128,7 +128,7 @@
@end example
@noindent
-produces the figure shown in @xref{fig:errorbar}.
+produces the figure shown in @ref{fig:errorbar}.
@float Figure,fig:errorbar
@image{errorbar,8cm}
@@ -152,7 +152,7 @@
@end example
@noindent
-produces the spiral plot shown in @xref{fig:polar}.
+produces the spiral plot shown in @ref{fig:polar}.
@float Figure,fig:polar
@image{polar,8cm}
@@ -182,7 +182,7 @@
@end example
@noindent
-produces the familiar ``sombrero'' plot shown in @xref{fig:mesh}. Note
+produces the familiar ``sombrero'' plot shown in @ref{fig:mesh}. Note
the use of the function @code{meshgrid} to create matrices of X and Y
coordinates to use for plotting the Z data. The @code{ndgrid} function
is similar to @code{meshgrid}, but works for N-dimensional matrices.
@@ -208,7 +208,7 @@
@end example
@noindent
-displays the spiral in three dimensions shown in @xref{fig:plot3}.
+displays the spiral in three dimensions shown in @ref{fig:plot3}.
@float Figure,fig:plot3
@image{plot3,8cm}