I have just realised what the error was: I defined the grid with values 1 through 8 in one direction, and values 1 through 5000 in the other. The result was that a very long, very small line was drawn, but I never noticed it (I just think it was drawn, i really never saw it). My apologies for bothering you with this mistake. regs, Tim