[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52536] contourc docstring typo: correspondenc
From: |
Antons Suspans |
Subject: |
[Octave-bug-tracker] [bug #52536] contourc docstring typo: correspondence of dimensions and axes |
Date: |
Mon, 27 Nov 2017 14:27:49 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?52536>
Summary: contourc docstring typo: correspondence of
dimensions and axes
Project: GNU Octave
Submitted by: antox
Submitted on: Mon 27 Nov 2017 07:27:48 PM UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: Any
_______________________________________________________
Details:
Docs say that contourc(Z) uses X=1:rows(Z) and Y=1:columns(Z) but it is vice
versa (contour behaves consistently with surfc, etc).
c=contourc([0 2;0 2], 1)
c =
1.0000 1.5000 1.5000
2.0000 1.0000 2.0000
contour([0 2;0 2]), xlabel x
Diff:
--- old/octave/4.2.1/m/plot/draw/contourc.m
+++ new/octave/4.2.1/m/plot/draw/contourc.m
@@ -25,8 +25,8 @@
##
## The matrix @var{z} contains height values above the rectangular grid
## determined by @var{x} and @var{y}. If only a single input @var{z} is
-## provided then @var{x} is taken to be @code{1:rows (@var{z})} and @var{y}
is
-## taken to be @code{1:columns (@var{z})}.
+## provided then @var{x} is taken to be @code{1:columns (@var{z})} and
@var{y}
+## is taken to be @code{1:rows (@var{z})}.
##
## The optional input @var{vn} is either a scalar denoting the number of
## contour lines to compute or a vector containing the Z values where lines
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52536>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52536] contourc docstring typo: correspondence of dimensions and axes,
Antons Suspans <=