Hi,
To solve my problem, I finally used a loop to draw a grid.
Fabrice
\starttext
\start
\switchtobodyfont[small]
\startMPcode
path p ;
u := 2cm ; v:= 1cm ;
p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v)--cycle ;
drawoptions(withpen pencircle scaled 0.5pt withcolor
\MPcolor{mycolo
Hi,
I encounter some problems in the use of vlingrid() and hlingrid() macros. In
the code below, we see that the grid is not correct.
Does the code can be improved ?
thank you,
Fabrice
\starttext
\startMPcode
path p ;
u := 2cm ; v:= 1cm ;
p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v)--c