[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementation for missing function tetramesh
From: |
Martin Helm |
Subject: |
Re: Implementation for missing function tetramesh |
Date: |
Mon, 02 Apr 2012 14:59:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120328 Thunderbird/11.0.1 |
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.