Source
%% on veut obtenir une Bouding Box de 0 0 576 842 (format A4)

52 setxunit %% 10 mm
-2 3 setxrange
-3 2 setyrange
10 setborder

[1 1] {.4 setgray} Quadrillage

-2 3 setxrange
-3 2 setyrange
[1 1 .5 .5 .1 .1] {.4 setgray} Quadrillage

 traceaxes
axesarrow
[-2 -1 1 2] {xmark} apply
[-3 -2 -1 0 1 2] {ymark}apply