Source
%% auteur : 

60 setxunit %% 10 mm
-0.5 4 setxrange
-0.5 5 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