[pstricks] improve the code Figure is not drawn continuously

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Jan 14 10:37:29 CET 2012


Am 12.01.2012 20:27, schrieb Luís Lopes:

> I am still trying to get a better figure than
> what I've got.
>
> With the code below one can see
> "holes" in the curve. Moreover in the
> continuous parts it seems to have a jigsaw
> pattern.
>
> As suggested a while ago, stepFactor=0.1 improves
> the drawing but it takes too much time in my (old)
> computer.

I'll improve the code over weekend. By now the area is scanned
from left to right to find all pixels where the function changes
its value from plus to minus or vice versa. I'll add an additional
scan from top to bottom to close all those wholes in the function.
Also the value for stepFactor should then be unimportant, which
decreases the run time.
However, the jigsaw pattern cannot be omiited for great values
of linewidth. The implicit function is plotted as dots and not as a
continous line.

Herbert


More information about the PSTricks mailing list