[I posted this question already at 4.10.2004, but somehow it did not make
it into the mailing list.  Hopefully, it will now.]

Hello,

When plotting the data file "output.dx" below using the DX script commands:

data = Import("output.dx");
data = Options(data, "cache", 1);
colored = AutoColor(data);
surface = Isosurface(data, number=20);
image = Collect(surface,colored);
camera = AutoCamera(image, direction="front", background="black", 
resolution=480, aspect=1.0);
image = Render(image, camera);
Display (image, where=where);

I obtain an ugly diagonal black line in the picture.  Does someone know
what is going on?  I'm using the DX from Debian/testing.

Thank you very much, Nicolas

----------------------------------------------------------------
The file "output.dx" contains:

object 1 class array type float rank 1 shape 2 items 16 data follows
0.5     0.5     
0.5     0.     
0.     0.5     
0.     0.     
0.5     1.     
0.5     0.5     
0.     1.     
0.     0.5     
1.     0.5     
1.     0.     
0.5     0.5     
0.5     0.     
1.     1.     
1.     0.5     
0.5     1.     
0.5     0.5     
object 3 class array type int rank 1 shape 4 items 4 data follows
15 14 13 12
11 10 9 8
7 6 5 4
3 2 1 0
attribute "element type" string "quads"
attribute "ref" string "positions"
object 4 class array type float rank 0 items 16 data follows
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
1.0
attribute "dep" string "positions"
object "quad-part" class field
component "positions" value 1
component "connections" value 3
component "data" value 4
end

Reply via email to