Menu

#32 Fitz produces fewer points than in original data

open
nobody
None
5
2012-12-25
2010-05-11
Anonymous
No

GLE version: 4.2.0
OS: Ubuntu 8.10/Linux

Assume "input.dat" is an 80x80 (=6400 points in total) input file in the format:
1.807 1.807 0.00000
3.615 1.807 0.00000
5.422 1.807 0.00000
...
141.0 144.6 0.00000
142.8 144.6 0.00000
144.6 144.6 0.00000

The spacing between points is constant.

However, when fitz is used like this:
begin fitz
data "input.dat"
end fitz

the produced file, "input.z" is only 16x16 (=256 points). Fitz should probably not drop points like that since it creates a very distorted image. A workaround is to use
begin fitz
data "input.dat"
x from 1.807 to 144.6 step 1.807
y from 1.807 to 144.6 step 1.807
end fitz

but that is fairly annoying since the user has to calculate the mimimum/maximum/step values himself.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB