input gdd; input gdd-rep; input gdd-lbl; input gdd-tra; input svgnames; lblPreambule := "\usepackage[frenchb]{babel}" & "\usepackage[garamond]{mathdesign}" & "\usepackage{amsmath}"; input gdd-fct; input gdd-plt; labeloffset := 6; gddU:=1cm; vardef f(expr t) = t*t enddef; vardef g(expr t) = t*t*t enddef; def avecCrayon(expr t,c) = withpen pencircle scaled t withcolor c enddef; beginfig(1); Repere(8,12,2,6,1,1); Axes; Debut; Graduations; Unites(1); trace Vecteur((0,0),(2,0)) avecCrayon(1,Crimson); trace Courbe(f,g,-3,3,300) avecCrayon(1.5,DarkTurquoise); pointe Point(0,0); Fin; endfig; end