[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38864] meshgrid problem with 3D data
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #38864] meshgrid problem with 3D data |
Date: |
Wed, 01 May 2013 21:30:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12 |
URL:
<http://savannah.gnu.org/bugs/?38864>
Summary: meshgrid problem with 3D data
Project: GNU Octave
Submitted by: None
Submitted on: Срд 01 Май 2013 21:30:18
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Leon
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.2
Operating System: GNU/Linux
_______________________________________________________
Details:
Seems like meshgrid command unnaturally swaps X and Y data.
Proceed:
octave:43> [x, y, z] = meshgrid (1:5, 1:10, 1:5);
octave:44> val = rand (5, 10, 5);
octave:45> isosurface (x, y, z, val, .5);
error: __marching_cube__: XX, YY, ZZ, C must be of equal size
error: called from:
error: /usr/share/octave/3.6.2/m/plot/private/__marching_cube__.m at line
107, column 5
error: /usr/share/octave/3.6.2/m/plot/isosurface.m at line 157, column 32
octave:45> size(x)
ans =
10 5 5
octave:46> size(val)
ans =
5 10 5
while next code is Ok;
octave:47> [x, y, z] = meshgrid (1:5, 1:5, 1:10);
octave:48> val = rand (5, 5, 10);
octave:49> isosurface (x, y, z, val, .5);
octave:50> size(x)
ans =
5 5 10
octave:51> size(val)
ans =
5 5 10
octave:52>
This is probably really minor, but annoying and could bring errors somewhere
else... Thank you!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38864>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38864] meshgrid problem with 3D data,
anonymous <=