--- Begin Message ---
- To: Debian Bug Tracking System <maintonly@bugs.debian.org>
- Subject: octave2.9: doc bug in plot.m
- From: Francesco Potorti` <Potorti@isti.cnr.it>
- Date: Thu, 16 Nov 2006 17:10:17 +0100
- Message-id: <E1Gkjof-00070K-EA@tucano.isti.cnr.it>
Package: octave2.9
Version: 2.9.9-5
Severity: minor
File: /usr/share/octave/2.9.9/m/plot/plot.m
This is a long-standing documentation bug in Octave, and applies to
octave 2.1 as well.
Here is a patch to plot.m. The first part corrects the bug. The second
part simplifies reading the color keys.
diff -pu /tmp/plot.m /tmp/plot.patched.m
--- /tmp/plot.m 2006-11-16 16:57:38.000000000 +0100
+++ /tmp/plot.patched.m 2006-11-16 17:08:02.000000000 +0100
@@ -52,13 +52,13 @@
## the elements, starting with 1.
##
## @item
-## If the first argument is a vector and the second is a matrix, the
-## the vector is plotted versus the columns (or rows) of the matrix.
+## If the @var{x} is a vector and @var{y} is a matrix, the
+## the columns (or rows) of @var{y} are plotted versus @var{x}.
## (using whichever combination matches, with columns tried first.)
##
## @item
-## If the first argument is a matrix and the second is a vector, the
-## the columns (or rows) of the matrix are plotted versus the vector.
+## If the @var{x} is a matrix and @var{y} is a vector,
+## @var{y} is plotted versus the columns (or rows) of @var{x}.
## (using whichever combination matches, with columns tried first.)
##
## @item
@@ -107,9 +107,9 @@
## valid in combination with the @code{@@} or @code{-@@} specifiers.
##
## @item @var{c}
-## If @var{c} is one of @code{"k"}, @code{"r"}, @code{"g"}, @code{"b"},
-## @code{"m"}, @code{"c"}, or @code{"w"}, it is interpreted as the plot
-## color (black, red, green, blue, magenta, cyan, or white).
+## If @var{c} is one of @code{"k"} (black), @code{"r"} (red), @code{"g"}
+## (green), @code{"b"} (blue), @code{"m"} (magenta), @code{"c"} (cyan),
+## or @code{"w"} (white), it is interpreted as the line plot color.
##
## @item ";title;"
## Here @code{"title"} is the label for the key.
Diff finished at Thu Nov 16 17:08:54
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=it_IT@euro (charmap=ISO-8859-15)
Versions of packages octave2.9 depends on:
ii fftw3 3.1.2-1 library for computing Fast Fourier
ii lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines
ii libc6 2.3.6.ds1-7 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-19 GCC support library
ii libgfortran1 4.1.1-19 Runtime library for GNU Fortran ap
ii libglpk0 4.11-2 linear programming kit (shared lib
ii libhdf5-serial-1.6.5-0 [ 1.6.5-3 Hierarchical Data Format 5 (HDF5)
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
ii libreadline5 5.2-1 GNU readline and history libraries
ii libstdc++6 4.1.1-19 The GNU Standard C++ Library v3
ii libufsparse 1.2-7 collection of libraries for comput
ii refblas3 [libblas.so.3] 1.2-8 Basic Linear Algebra Subroutines 3
ii texinfo 4.8.dfsg.1-3 Documentation system for on-line i
ii zlib1g 1:1.2.3-13 compression library - runtime
octave2.9 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: octave2.9
Source-Version: 2.9.9-7
We believe that the bug you reported is fixed in the latest version of
octave2.9, which is due to be installed in the Debian FTP archive:
octave2.9-doc_2.9.9-7_all.deb
to pool/main/o/octave2.9/octave2.9-doc_2.9.9-7_all.deb
octave2.9-emacsen_2.9.9-7_all.deb
to pool/main/o/octave2.9/octave2.9-emacsen_2.9.9-7_all.deb
octave2.9-headers_2.9.9-7_i386.deb
to pool/main/o/octave2.9/octave2.9-headers_2.9.9-7_i386.deb
octave2.9-htmldoc_2.9.9-7_all.deb
to pool/main/o/octave2.9/octave2.9-htmldoc_2.9.9-7_all.deb
octave2.9-info_2.9.9-7_all.deb
to pool/main/o/octave2.9/octave2.9-info_2.9.9-7_all.deb
octave2.9_2.9.9-7.diff.gz
to pool/main/o/octave2.9/octave2.9_2.9.9-7.diff.gz
octave2.9_2.9.9-7.dsc
to pool/main/o/octave2.9/octave2.9_2.9.9-7.dsc
octave2.9_2.9.9-7_i386.deb
to pool/main/o/octave2.9/octave2.9_2.9.9-7_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 398935@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octave2.9 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 22 Dec 2006 11:54:57 +0100
Source: octave2.9
Binary: octave2.9-headers octave2.9-info octave2.9-htmldoc octave2.9 octave2.9-emacsen octave2.9-doc
Architecture: source i386 all
Version: 2.9.9-7
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description:
octave2.9 - GNU Octave language for numerical computations (2.9 branch)
octave2.9-doc - PDF documentation on the GNU Octave language (2.9 branch)
octave2.9-emacsen - Emacs support for the GNU Octave language (2.9 branch)
octave2.9-headers - header files for the GNU Octave language (2.9 branch)
octave2.9-htmldoc - HTML documentation on the GNU Octave language (2.9 branch)
octave2.9-info - GNU Info documentation on the GNU Octave language (2.9 branch)
Closes: 398935 399190
Changes:
octave2.9 (2.9.9-7) unstable; urgency=low
.
* debian/in/control: Changed wording of octave*-headers description.
Thanks to Reuben Thomas for the suggestion (closes: #399190).
* debian/patches/50_plot-doc.dpatch:Fixes a long-standing documentation
bug in Octave, regarding the plot function. Thanks to Francesco
Potortì for the patch, which has been also applied to the 2.9 branch
upstream (closes: #398935).
Files:
c76c3ce3914b7ca78c14b16fab9fd903 1114 math optional octave2.9_2.9.9-7.dsc
6062906c538ea9b13cede05c01a4f13e 60274 math optional octave2.9_2.9.9-7.diff.gz
4c60bab34472af11e4641fa7e54be73e 7474684 math optional octave2.9_2.9.9-7_i386.deb
5cc7cb96324401671859f811c2dc523d 343932 math optional octave2.9-headers_2.9.9-7_i386.deb
27ebcc9b93933e1823a83917441ee7f5 2182916 doc optional octave2.9-doc_2.9.9-7_all.deb
dc2f3e5b6ca1d05ec13686e69a4919c3 520718 math optional octave2.9-htmldoc_2.9.9-7_all.deb
cc9dbc697c03131dedaba331a78fb3b4 82500 math optional octave2.9-emacsen_2.9.9-7_all.deb
658d76a5ded5a4e38a43c8f11c14d32d 358000 math optional octave2.9-info_2.9.9-7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFi9VKk3oga0pdcv4RAq04AKCH8LJIdsLv432m8Ie2Osp4xf2bFwCeNvuo
v0SaqS27aN9isVoFDDrvbLc=
=JKla
-----END PGP SIGNATURE-----
--- End Message ---