octave-maintainers
[Top][All Lists]
Advanced

[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 07:48:14 -0400

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

Attachment: changeset.patch
Description: Binary data

Attachment: matlab2.pdf
Description: Adobe PDF document

Attachment: matlab1.pdf
Description: Adobe PDF document


Attachment: fltk1.pdf
Description: Adobe PDF document

Attachment: fltk2.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]