[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43447] trisurf produces error message
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #43447] trisurf produces error message |
Date: |
Mon, 20 Oct 2014 18:15:56 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?43447>
Summary: trisurf produces error message
Project: GNU Octave
Submitted by: None
Submitted on: Mon 20 Oct 2014 06:15:55 PM UTC
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Sigurd Angenent
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.1
Operating System: Mac OS
_______________________________________________________
Details:
I tried demo("trisurf",1) and this works
The following script which I wrote produces an error message. I don't think
it should...
vertices = [ 1 1 1;
-1 -1 1;
1 -1 -1;
-1 1 -1]
triangles = [ 1 2 3;
2 1 4;
3 2 4;
4 1 3]
X = vertices(:, 1);
Y = vertices(:, 2);
Z = vertices(:, 3);
trisurf(triangles, X, Y, Z);
Here's the error message
GNU Octave, version 3.8.1
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-apple-darwin13.4.0".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
octave:1> tetra
vertices =
1 1 1
-1 -1 1
1 -1 -1
-1 1 -1
triangles =
1 2 3
2 1 4
3 2 4
4 1 3
error: horizontal dimensions mismatch (4x3 vs 2x1)
error: called from:
error:
/usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/plot/util/private/__go_draw_axes__.m
at line 760, column 33
error:
/usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/plot/util/private/__go_draw_figure__.m
at line 172, column 17
error:
/usr/local/Cellar/octave/3.8.1/share/octave/3.8.1/m/plot/util/__gnuplot_drawnow__.m
at line 86, column 5
octave:2>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43447>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43447] trisurf produces error message,
anonymous <=