#### 8.1.1 Axes

• Axes( <origin>, <scaleX + i*sccaleY> [, origin label position] ).
• Description: draw axes, <origin> is the point affix of the axes intersection, <scaleX> is the scale on the Ox axis, and <scaleY > on the Oy axis. A scale set to zero means no graduations. The ticks length is in the global variable xyticks that is editable. The distance between labels and the ticks is stored in the xylabelsep variable that is also editable.

The third parameter is optional, it gives the position of the labels for the origins of the two axes. This is a complex number $a+ib$, the real part is about the Ox axis origin, and the imaginary part is about the Oy axis origin. These two numbers can be assigned with three values:

• $0$: the label is hidden,
• $1$: the label is displayed, like the other graduations,
• $2$: tThe label is shifted so that it is not on the other axis (default value).
• In the Attributes, those can be modified: Line style, thickness, color an labels size.

 \begin{texgraph}[name=Axes,export=pgf]   view(-5,4,-5,5),Marges(0.5,0,0,0.5),   size(7.5), Width:=2,   Color:=lightgray, Grille(-5-5*i,(1+i)/2),   Width:=4,   Color:=gray, Grille(-5-5*i,(1+i)),   Color:=black, Arrows:=1,   Axes(-5-5*i,1+i,1+i),Arrows:=0,   LabelAxe(x,-pi-5*i,"$-\pi$",2-i,1),   LabelAxe(x,pi-5*i,"$\pi$",2+i,1),   SaveAttr(),   FillStyle:=full, FillColor:=lightblue,   FillOpacity:=0.5,   domaine2(3*sin(x)^3, -5,-pi,pi),   RestoreAttr(),   Color:=red, Arrows:=0, Width:=8,   Cartesienne( 3*sin(x)^3 )   \end{texgraph}

Axes Command