Source
15 setxunit
7.5 setborder
90 setangle_repere
-2 40 setxrange
-4 8 setyrange
[1 1 .5 .5 .1 .1] {orange} Quadrillage
/quadrillagegray 0.4 def
1 setquadrillagexstep
1 setquadrillageystep
quadrillage
1 1 settkstep
.5 .5 setsubtkstep
2 2 setmkstep
ticks
subticks
marks
traceaxes
axesarrow
unites
/f {setxvar
#rpn#   x-ln(x)+Sin(x)
} def
/g {setxvar
#rpn#   ln(x)-Sin(x)
} def
gsave
   noir
   .75 setlinewidth
   continu
  0.1  xmax {f} Courbe
grestore
gsave
   rouge
   .75 setlinewidth
   continu
  0.1  xmax {g} Courbe
grestore