25 setxunit
7.5 setborder
90 setangle_repere
-3 3 setxrange
-3 3 setyrange
/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^3 +3*x
} def
gsave
bleu
.75 setlinewidth
pointilles
{f} courbe
grestore
gsave
bleu
continu
/hstep 4 store
/hangle 15 store
2 3 {pop ymax 1 add} {f} Hachcourbes
grestore
gsave
orange
continu
/hstep 6 store
/hangle 45 store
{f} {g} hachcourbes
grestore
gsave
gris
continu
/hstep 4 store
/hangle -45 store
{pop ymin 1 sub} {g} hachcourbes
grestore
2.8 settailletangente
-2 {f} tangente
-1 {f} tangente
0 {f} tangente
2 {f} tangente
|