[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50370] geometry package: drawPolygon - added
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #50370] geometry package: drawPolygon - added info on input fromat to help text |
Date: |
Tue, 21 Feb 2017 11:01:34 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 |
URL:
<http://savannah.gnu.org/bugs/?50370>
Summary: geometry package: drawPolygon - added info on input
fromat to help text
Project: GNU Octave
Submitted by: nrjank
Submitted on: Tue 21 Feb 2017 04:01:33 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name: Nick Jankowski
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0
Operating System: Any
_______________________________________________________
Details:
confusion came up on the help list about proper input format for drawPolygon.
After poking around a bit myself I took the liberty of expanding the help a
bit. Will attach the changeset after generating a bug number.
A few notes: the (PX, PY) format only works for column vector inputs, and
produces unexpected results for row vectors (no error or warning). Is this as
it should be? help text I added specifies they should be column vectors to
match this behavior.
Eg.,
figure(1);
drawPolygon([-1 0 1],[-2 2 -2]);
figure(2);
drawPolygon([-1 0 1]',[-2 2 -2]');
produce very different inputs. Former produces [1 -2; 2 2; 3 -2], latter
produces [-1 -2; 0 2; -2 1] as expected.
Also, there are a few places where warning and error messages still say
Matgeom. should that now say geometry?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50370>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50370] geometry package: drawPolygon - added info on input fromat to help text,
Nicholas Jankowski <=