[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementation for missing function tetramesh
From: |
Ben Abbott |
Subject: |
Re: Implementation for missing function tetramesh |
Date: |
Mon, 02 Apr 2012 19:37:18 -0400 |
On Apr 2, 2012, at 8:59 AM, Martin Helm wrote:
> Am 02.04.2012 13:48, schrieb Ben Abbott:
>
>> On Apr 1, 2012, at 11:49 PM, Martin Helm wrote:
>>
>>> Am 02.04.2012 03:20, schrieb Ben Abbott:
>>>
>>>> I'm seeing a difference between Matlab and Octave. I've attached
>>>> results for both demos. Ben
>>> Seems to be simply the different results of delaunay, can you run the
>>> following tests in both cases
>>>
>>> load data.mat
>>> clf ()
>>> colormap (jet
>>> (64))
>>> h = tetramesh (tetra,
>>> X);
>>> for
>>> ii=1:2:length(h);
>>>
>>> set(h(ii), "Visible",
>>> "off");
>>> endfor
>>>
>>>
>>> axis
>>> equal
>>> view (30, 20)
>>> title ("Using jet (64), every other tetrahedron invisible")
>>>
>>> load data.mat
>>> clf ()
>>> colormap (gray (256));
>>> tetramesh (tetra, X, 21:20:241, "EdgeColor", "w")
>>> axis equal
>>> view (30, 20)
>>> title ("Using gray (256) and white edges")
>>>
>>> with the attached data.mat to rule that out?
>>>
>>> <data.mat>
>> I had to convert data.mat to the Matlab format. After that, the results are
>> the same.
>>
>> I've atttached a changeset. If there are no objections I'll push it later
>> today.
>>
>> Ben
>
> Great, thanks and sorry that I forgot to export the data directly to ML
> format.
I've pushed the changeset.
http://hg.savannah.gnu.org/hgweb/octave/rev/34a9fdaa6ea3
Thanks
Ben